This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I stop preloading of HTML5 audio files?

  • 7 பதிலளிப்புகள்
  • 2 இந்த பிரச்னைகள் உள்ளது
  • 28 views
  • Last reply by jay_lofstead

When I open a page that has audio tags for HTML5, it automatically downloads the files. I never use the in-browser audio player and instead download for offline listening. How do I prevent these files from being downloaded for browser playing since I have to download them a second time for my offline playing?

When I open a page that has audio tags for HTML5, it automatically downloads the files. I never use the in-browser audio player and instead download for offline listening. How do I prevent these files from being downloaded for browser playing since I have to download them a second time for my offline playing?

தீர்வு தேர்ந்தெடுக்கப்பட்டது

You can set the media.windows-media-foundation.enabled pref to false on the about:config page to disable the built-in HTML5 media player.

Read this answer in context 👍 2

All Replies (7)

If you type about:config into the address bar, press Enter, then accept the warning, then search for Media, you should see several prefs called "media.comething.enabled". If you switch these to false does that do what you are wanting?

Not that I can figure out. For example, if I have an embedded link to a .mp3 file (say, for a podcast) using the audio tag, then firefox loads the file in the background. There is nothing in the media.*.enabled that suggests that it would stop that from happening. There is no mp3 item in that list nor is there anything about preload defaults (set to no when it is 'auto' in the html). The other settings for mp3 and flash are set to false in areas I can find.

தீர்வு தேர்ந்தெடுக்கப்பட்டது

You can set the media.windows-media-foundation.enabled pref to false on the about:config page to disable the built-in HTML5 media player.

How do I do this on the mac now? The previous works well for Windows.

Does Firefox play MP3 files in an HTML audio tag on Mac?

A lot of other types can be disabled via one of the media prefs, but if there isn't one for files that still play and disabling media.autoplay.enabled to false also doesn't help then I don't know what else to try.

I thought it did the same as I was seeing in Windows, but it seems to not do it now. The vast majority of the times I run into it I am using Windows.

Thanks for the suggestion. If it comes up, I have a place to start.