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 get HTML5 videos working again?

  • 9 replies
  • 274 have this problem
  • 2500 views
  • Last reply by cor-el

more options

I updated to Firefox 35 recently and now HTML5 videos will not work. I do have NoScript, but disabling or removing it does not fix the problem. Switching to safe mode does not fix the problem. The problem is solved by using a fresh profile or deleting the prefs.js file, but this is not an option for me, as restoring all my settings from scratch would be a time-consuming hassle I'd rather not deal with.

I know the problem is with the update to Firefox 35 specifically because everything was working fine before and stopped working after. To be absolutely certain, I turned on my laptop that had the same exact extensions and settings imported to it from this computer with FEBE a while back. It was using version 34.0.5 and everything was fine with that version. I tested it with the Vine website, all videos worked. It also downloaded the update to Firefox 35 in the background and as soon as I restarted it, the HTML5 videos were broken.

It's definitely something Mozilla changed but forgot to alter/remove an old setting that's gumming up the works. If I could just figure out which line(s) in the prefs.js file was causing the issue, I would delete/modify it myself in Notepad.

For the record, I already had media.windows-media-foundation.enabled set to false. All videos that use Flash seem to work. I think Vimeo uses HTML5, but it's the only non-Flash video site I could find that still works. Flash and Java have been updated to the latest versions.

I updated to Firefox 35 recently and now HTML5 videos will not work. I do have NoScript, but disabling or removing it does not fix the problem. Switching to safe mode does not fix the problem. The problem is solved by using a fresh profile or deleting the prefs.js file, but this is not an option for me, as restoring all my settings from scratch would be a time-consuming hassle I'd rather not deal with. I know the problem is with the update to Firefox 35 specifically because everything was working fine before and stopped working after. To be absolutely certain, I turned on my laptop that had the same exact extensions and settings imported to it from this computer with FEBE a while back. It was using version 34.0.5 and everything was fine with that version. I tested it with the Vine website, all videos worked. It also downloaded the update to Firefox 35 in the background and as soon as I restarted it, the HTML5 videos were broken. It's definitely something Mozilla changed but forgot to alter/remove an old setting that's gumming up the works. If I could just figure out which line(s) in the prefs.js file was causing the issue, I would delete/modify it myself in Notepad. For the record, I already had media.windows-media-foundation.enabled set to false. All videos that use Flash seem to work. I think Vimeo uses HTML5, but it's the only non-Flash video site I could find that still works. Flash and Java have been updated to the latest versions.

Chosen solution

cor-el said

Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.

As I said, safe mode does not solve the problem. It's not any of my extensions. I tried turning off hardware acceleration earlier but that wasn't it either.

Your System Details list shows that you have a user.js file in the profile folder to initialize prefs each time Firefox starts. The user.js file is only present if you or other software has created this file and normally it wouldn't be there.

It only has these two lines: user_pref("protocol-handler.warn-external.dnUpdate", false); user_pref("browser.sessionstore.resume_from_crash", false);

Pretty sure they're extension-related, so I won't touch them.

Are there any media prefs that do not have the default value?
  • media.*.enabled

As I said, media.windows-media-foundation.enabled was set to false and it was the only entry with that search term that was not set to default. I changed it to true and restarted and this fixed everything. Funny thing, though, doing the opposite has been a proven solution for people having this issue in the past. This very website says to do that. You said to do that! https://support.mozilla.org/en-US/questions/961627

So, anybody reading this for future reference, you may or may not have changed this setting sometime in 2013. Firefox 35 requires you to change it back. Problem solved.

Read this answer in context 👍 33

All Replies (9)

more options

What are you using as a viewer? Check for updates.


YouTube HTML5 Test

more options

FredMcD, not sure I understand the question. Sites that use HTML5 videos use their own unique player, such as Tumblr, Vine or Instagram and none of these sites work for me right now. I clicked on your link and I got red box exclamation points for Media Source Extensions, MSE & H.264 and MSE & WebM VP9 but blue box checkmarks for HTMLVideoElement, H.264 and WebM VP8.

As I said, Java and Flash are updated, don't know what else I could update. I also said that a fresh profile works, so there's something in prefs.js that I need to remove or change that's affecting the new way Firefox handles HTML5 video.

more options

Are there any media prefs that do not have the default value?

  • media.*.enabled

Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.

  • Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
  • Do NOT click the Reset button on the Safe Mode start window

Your System Details list shows that you have a user.js file in the profile folder to initialize prefs each time Firefox starts. The user.js file is only present if you or other software has created this file and normally it wouldn't be there.

You can check its content with a plain text editor (right-click: "Open with"; do not double-click). The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.

You can delete the user.js file if you didn't create this file yourself.

more options

Chosen Solution

cor-el said

Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.

As I said, safe mode does not solve the problem. It's not any of my extensions. I tried turning off hardware acceleration earlier but that wasn't it either.

Your System Details list shows that you have a user.js file in the profile folder to initialize prefs each time Firefox starts. The user.js file is only present if you or other software has created this file and normally it wouldn't be there.

It only has these two lines: user_pref("protocol-handler.warn-external.dnUpdate", false); user_pref("browser.sessionstore.resume_from_crash", false);

Pretty sure they're extension-related, so I won't touch them.

Are there any media prefs that do not have the default value?
  • media.*.enabled

As I said, media.windows-media-foundation.enabled was set to false and it was the only entry with that search term that was not set to default. I changed it to true and restarted and this fixed everything. Funny thing, though, doing the opposite has been a proven solution for people having this issue in the past. This very website says to do that. You said to do that! https://support.mozilla.org/en-US/questions/961627

So, anybody reading this for future reference, you may or may not have changed this setting sometime in 2013. Firefox 35 requires you to change it back. Problem solved.

Modified by TigerNightmare

more options

Looks that the user.js had been created by malware as there is not need to disable restoring tabs in case of crashes. The other user_pref line would also suggest this.

  • user_pref("protocol-handler.warn-external.dnUpdate", false); *user_pref("browser.sessionstore.resume_from_crash", false);

You can delete the user.js file and reset the two mentioned prefs of the about:config page.

The media.windows-media-foundation.enabled pref relates to the built-in HTML5 media player with regard to supporting H.264 and some other formats and disables the HTML5 media player for those formats. I'm not sure what happens if media.directshow.enabled is still set to true.

Do you remember if you toggled this pref yourself because you would only do that in case of issues with playing media files via the HTML5 media player?

more options

I really doubt it's malware. I have an extension called Session Manager that can save, restore and automatically backup multiple browsing sessions and I haven't had any issues. It's probably an old, leftover file since it was last modified in 2009.

media.windows-media-foundation.enabled is set to true by default, according to what it says in the about:config window. That's why HTML5 videos worked on a blank profile but not in safe mode. I don't remember if I've had this problem before and set it to false myself, but it's plausible.

more options

Same issue. Safe mode doesn't resolve it. Disabling extensions doesn't resolve it. All media prefs are set to default. Is there anything else I can check?

more options

cor-el said

Are there any media prefs that do not have the default value?
  • media.*.enabled
Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
  • Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
  • Do NOT click the Reset button on the Safe Mode start window

Your System Details list shows that you have a user.js file in the profile folder to initialize prefs each time Firefox starts. The user.js file is only present if you or other software has created this file and normally it wouldn't be there.

You can check its content with a plain text editor (right-click: "Open with"; do not double-click). The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.

You can delete the user.js file if you didn't create this file yourself.

TigerNightmare said

cor-el said
Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.

As I said, safe mode does not solve the problem. It's not any of my extensions. I tried turning off hardware acceleration earlier but that wasn't it either.

Your System Details list shows that you have a user.js file in the profile folder to initialize prefs each time Firefox starts. The user.js file is only present if you or other software has created this file and normally it wouldn't be there.

It only has these two lines: user_pref("protocol-handler.warn-external.dnUpdate", false); user_pref("browser.sessionstore.resume_from_crash", false);

Pretty sure they're extension-related, so I won't touch them.

Are there any media prefs that do not have the default value?
  • media.*.enabled

As I said, media.windows-media-foundation.enabled was set to false and it was the only entry with that search term that was not set to default. I changed it to true and restarted and this fixed everything. Funny thing, though, doing the opposite has been a proven solution for people having this issue in the past. This very website says to do that. You said to do that! https://support.mozilla.org/en-US/questions/961627

So, anybody reading this for future reference, you may or may not have changed this setting sometime in 2013. Firefox 35 requires you to change it back. Problem solved.

Thank you, TigerNightmare for pointing this out! The support here has failed in addressing this issue ever since I first tried to seek help about it.

I, too, simply changed the default value of "media.windows-media-foundation.enabled" back to TRUE, which is the opposite of what I, too, was told to do in prior support sessions.

Happy to see that someone has finally proven that the people at Mozilla Support really don't have their sht together.

Thanks again TigerNightmare!

more options

That advice was given in 2013 and during that time support for HTML5 in Firefox and on website was still in early stages, so no everything was working smoothly. Disabling features is a lot of times only needed temporarily and you need to check regularly if it works in a next release.