Fix common audio and video issues

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.

Note: If you're having trouble with a website, click the padlock icon Fx70GreyPadlockFx89Padlock in the address bar to see if Firefox has blocked parts of the page that are not secure. See Mixed content blocking in Firefox for details.

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.

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 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.

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 Fix video and audio playback problems on Firefox for Windows and 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 OptionsPreferencesSettings 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.

Note: Google Widevine ended support for 32-bit Linux on May 31, 2021. Only 64-bit Linux is supported.
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.

Clear the cache

See How to clear the Firefox cache.

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.

Check some Firefox settings

  • Cookies:
  1. In the Menu bar at the top of the screen, click Firefox and select Preferences. Click the menu button Fx57Menu and select OptionsPreferences.Click the menu button Fx89menuButton and select Settings.

  2. Select the Privacy & Security panel and go to the Cookies and Site Data section.
  3. Verify that cookies are enabled and that the site is not blocked in the Exceptions list.
  • History:
  1. In the Menu bar at the top of the screen, click Firefox and select Preferences. Click the menu button Fx57Menu and select OptionsPreferences.Click the menu button Fx89menuButton and select Settings.

  2. Select the Privacy & Security panel and go to the History section.
  3. Make sure that Firefox is set to Remember history.
  • Pop-up windows:
  1. In the Menu bar at the top of the screen, click Firefox and select Preferences. Click the menu button Fx57Menu and select OptionsPreferences.Click the menu button Fx89menuButton and select Settings.

  2. Select the Privacy & Security panel and go to the Permissions section.
  3. 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 hosts file, you can temporarily disable it by renaming it Xhosts. Or, you can edit the hosts file to remove specific entries that may be causing videos on certain sites to fail (see this thread for an example). To apply changes to your hosts file, you may need to flush the DNS cache by entering the command: ipconfig /flushdns in the Run dialog box on Windows.




Based on information from Video or audio does not play (mozillaZine KB)

Was this article helpful?

Please wait...

These fine people helped write this article:

Illustration of hands

Volunteer

Grow and share your expertise with others. Answer questions and improve our knowledge base.

Learn More