Compare Revisions

Fix common audio and video issues

Revision 225646:

Revision 225646 by AliceWyman on

Revision 244476:

Revision 244476 by AliceWyman on

Açar sözlər:

Search results summary:

This article will help you solve audio and video problems on web pages.
This article will help you solve audio and video problems on web pages.

Məzmun:

Sometimes, the video or audio content in a web page cannot be properly downloaded and displayed in Firefox. This article will help you solve these problems. [[Template:MixedContent]] __TOC__ = Allow autoplay of media with sound = Firefox may be blocking media with sound from playing automatically. To allow media autoplay, see [[Allow or block media autoplay in Firefox]]. {for linux} = You may need to install the required PulseAudio software = If you see a notification saying "''To play audio, you may need to install the required PulseAudio software''", it means that Firefox cannot find or use PulseAudio. The [https://www.freedesktop.org/wiki/Software/PulseAudio/ PulseAudio software] is required to play any audio from Firefox. Most Linux distributions now come with PulseAudio pre-installed. Use your system's software package manager and ensure that PulseAudio is correctly installed. {/for} =HTML5 audio and video= Firefox has built in support for open media formats usually associated with MP3, WebM, Ogg and Wave containers. However, MP4 containers usually depend on platform decoders for AAC and H.264 audio and video streams. For more information, see {for win}[[Fix video and audio playback problems on Firefox for Windows]] and {/for}[[HTML5 audio and video in Firefox]]. =Digital Rights Management (DRM) protected videos= If you have problems playing DRM-controlled content from Amazon Prime, Netflix, Hulu, Disney+ and other streaming services, make sure that your Firefox [[T:optionsorpreferences]] General panel '''Digital Rights Management (DRM) Content''' setting, ''Play DRM-controlled content'' is check marked and that the Google Widevine plugin is enabled. See [[Watch DRM content on Firefox]] for more information. {for linux}<!-- https://bugzilla.mozilla.org/show_bug.cgi?id=1710880 http://forums.mozillazine.org/viewtopic.php?f=38&t=3075388 -->{note}'''Note:''' Google Widevine ended support for 32-bit Linux on May 31, 2021. Only 64-bit Linux is supported.{/note}{/for}{for mac}<!-- https://bugzilla.mozilla.org/show_bug.cgi?id=1706393#c9 https://support.mozilla.org/en-US/forums/contributors/715017#post-81268 -->{note}'''Note:''' The current version of Google Widevine is no longer compatible with older Mac operating systems such as OS X 10.9 and 10.10. Only versions OS X 10.11 and above are supported.{/note}{/for} = Clear the cache = See [[How to clear the Firefox cache]]. <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=594327 --> = Disable interfering extensions or ad-blocking software = Ad-blocking software, such as anti-banner filters of your Internet Security program, or extensions, such as Flashblock or Adblock Plus, can prevent audio or video content from playing. *If the site works with ad-blocking disabled, you may want to add the site to your whitelist in your adblocker filter. *If the video or audio plays when you disable all extensions, then one of your extensions was causing the problem. For more information, see [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]. = Check some Firefox settings = *Cookies: #[[T:optionspreferences]] #Select the {menu Privacy & Security} panel and go to the '''Cookies and Site Data''' section. #Verify that cookies are enabled and that the site is not blocked in the Exceptions list. *History: #[[T:optionspreferences]] #Select the {menu Privacy & Security} panel and go to the '''History''' section. #Make sure that Firefox is set to {menu Remember history}. *Pop-up windows: #[[T:optionspreferences]] #Select the {menu Privacy & Security} panel and go to the '''Permissions''' section. # Allow the website as an exception to the "Block pop-up windows" setting. = Reset preferences = See [[Reset Firefox preferences to troubleshoot and fix problems]]. = Remove specific entries in the hosts file (advanced users) = If you use a [http://en.wikipedia.org/wiki/Hosts_%28file%29 hosts file], you can temporarily disable it by renaming it {filepath Xhosts}. Or, you can edit the hosts file to remove specific entries that may be causing videos on certain sites to fail (see [https://support.mozilla.org/questions/1275882 this thread] for an example). To apply changes to your hosts file, you may need to flush the DNS cache{for win} by entering the command: <code>ipconfig /flushdns</code> in the Run dialog box on Windows{/for}. <!-- MZ credit --> <br/> <br/> '''''Based on information from [http://kb.mozillazine.org/Video_or_audio_does_not_play Video or audio does not play (mozillaZine KB)]'''''
Sometimes, the video or audio content in a web page cannot be properly downloaded and displayed in Firefox. This article will help you solve these problems. __TOC__ = Allow autoplay of media with sound = Firefox may be blocking media with sound from playing automatically. To allow media autoplay, see [[Allow or block media autoplay in Firefox]]. {for linux} = You may need to install the required PulseAudio software = If you see a notification saying "''To play audio, you may need to install the required PulseAudio software''", it means that Firefox cannot find or use PulseAudio. The [https://www.freedesktop.org/wiki/Software/PulseAudio/ PulseAudio software] is required to play any audio from Firefox. Most Linux distributions now come with PulseAudio pre-installed. Use your system's software package manager and ensure that PulseAudio is correctly installed. {/for} =HTML5 audio and video= Firefox has built in support for open media formats usually associated with MP3, WebM, Ogg and Wave containers. However, MP4 containers usually depend on platform decoders for AAC and H.264 audio and video streams. For more information, see {for win}[[Fix video and audio playback problems on Firefox for Windows]] and {/for}[[HTML5 audio and video in Firefox]]. =Digital Rights Management (DRM) protected videos= If you have problems playing DRM-controlled content from Amazon Prime, Netflix, Hulu, Disney+ and other streaming services, make sure that your Firefox [[T:optionsorpreferences]] General panel '''Digital Rights Management (DRM) Content''' setting, ''Play DRM-controlled content'' is check marked and that the Google Widevine plugin is enabled. See [[Watch DRM content on Firefox]] for more information. {for linux}<!-- https://bugzilla.mozilla.org/show_bug.cgi?id=1710880 http://forums.mozillazine.org/viewtopic.php?f=38&t=3075388 -->{note}'''Note:''' Google Widevine ended support for 32-bit Linux on May 31, 2021. Only 64-bit Linux is supported.{/note}{/for}{for mac}<!-- https://bugzilla.mozilla.org/show_bug.cgi?id=1706393#c9 https://support.mozilla.org/en-US/forums/contributors/715017#post-81268 -->{note}'''Note:''' The current version of Google Widevine is no longer compatible with older Mac operating systems such as OS X 10.9 and 10.10. Only versions OS X 10.11 and above are supported.{/note}{/for} = Clear the cache = See [[How to clear the Firefox cache]]. <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=594327 --> = Disable interfering extensions or ad-blocking software = Ad-blocking software, such as anti-banner filters of your Internet Security program, or extensions, such as Flashblock or Adblock Plus, can prevent audio or video content from playing. *If the site works with ad-blocking disabled, you may want to add the site to your whitelist in your adblocker filter. *If the video or audio plays when you disable all extensions, then one of your extensions was causing the problem. For more information, see [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]. = Check some Firefox settings = *Cookies: #[[T:optionspreferences]] #Select the {menu Privacy & Security} panel and go to the '''Cookies and Site Data''' section. #Verify that cookies are enabled and that the site is not blocked in the Exceptions list. *History: #[[T:optionspreferences]] #Select the {menu Privacy & Security} panel and go to the '''History''' section. #Make sure that Firefox is set to {menu Remember history}. *Pop-up windows: #[[T:optionspreferences]] #Select the {menu Privacy & Security} panel and go to the '''Permissions''' section. # Allow the website as an exception to the "Block pop-up windows" setting. = Reset preferences = See [[Reset Firefox preferences to troubleshoot and fix problems]]. = Remove specific entries in the hosts file (advanced users) = If you use a [http://en.wikipedia.org/wiki/Hosts_%28file%29 hosts file], you can temporarily disable it by renaming it {filepath Xhosts}. Or, you can edit the hosts file to remove specific entries that may be causing videos on certain sites to fail (see [https://support.mozilla.org/questions/1275882 this thread] for an example). To apply changes to your hosts file, you may need to flush the DNS cache{for win} by entering the command: <code>ipconfig /flushdns</code> in the Run dialog box on Windows{/for}. = Related links = {for win} * [[I can’t play audio on a Remote Desktop Connection]] * [[Videos don't have sound on Citrix]] {/for} * [[What to do if Firefox won't play any sounds]] * [[Manage file types and download actions in Firefox]] * [[Mixed content blocking in Firefox]] <!-- MZ credit --> <br/> <br/> '''''Based on information from [http://kb.mozillazine.org/Video_or_audio_does_not_play Video or audio does not play (mozillaZine KB)]'''''

Back to History