How to disable HTML5 video on YouTube with Firefox?

28,978

Solution 1

In the comments for this enhancement request there is a suggestion (comment 5 at 2012-03-13 15:57:41) to set media.webm.enabled, media.ogg.enabled and media.wave.enabled to false in order to "render <video> and '' elements unable to play anything."

All these options are readily available if you enter about:config in the address box, and then enter media. in the filter box. In my testing (Firefox 10.0.1 on Gentoo) it was not necessary to restart Firefox, the elements were disabled when I reloaded the page.

This page was useful for my tests. The video there is disabled when both media.webm.enabled and media.ogg.enabled are set to false, as there is fallback from one to the other.

There were rumors reently that future Firefox will support h.264, in that case you might have to disable that too after an update.

Solution 2

Download an add-on called YouTube Flash Player. It will automatically force YouTube to use the Flash player, not HTML5.

Share:
28,978

Related videos on Youtube

Robert Fraser
Author by

Robert Fraser

Updated on September 18, 2022

Comments

  • Robert Fraser
    Robert Fraser almost 2 years

    I'm running Firefox (12.0 beta), and whenever a video is available in HTML5, it will open in that. I have opted-out of the HTML5 preview (I saw a post suggesting to opt-in then opt-out again, which I did... this had no effect). I want to force it to use the Flash Player always.

    EDIT: I'm using Windows 7.

    Thanks!

    • Admin
      Admin about 12 years
      Is Firefix without webm support is out of the question?
    • Admin
      Admin about 12 years
      Are you sure Flash is installed and enabled properly? Check about:plugins and a Flash test page e.g. Adobe's test page or a Flash based game.
    • Admin
      Admin about 12 years
      @Eroen - No, if I can somehow remove the WebM support from Firefox that would be fine.
    • Admin
      Admin about 12 years
      @Bob - Yes; it uses Flash on videos that don't have WebM versions (most of them). I want to use it on all videos it can be used on.
    • Admin
      Admin about 12 years
      @Fraser I meant to put the word "compiling" in there somewhere. I'm hesitant to put it as an answer, as I really hope there is a configuration solution.
    • Admin
      Admin about 12 years
      @Eroen - I've never compiled Firefox before, but I'm willing to try it if that's the only option. This is kind of important to me, so if it'll only take a couple hours to do, I can give it a try. How would I go about removing WebM support? Would I have to recompile it on every update? (I assume so)
  • DavidPostill
    DavidPostill over 9 years
    Please read How do I recommend software for some tips as to how you should go about recommending software. At the very least you should provide more than just a link, for example some additional information about the software itself.