How to disable HTML5 video on YouTube with Firefox?

6

4

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!

Robert Fraser

Posted 2012-03-28T06:50:33.717

Reputation: 400

Is Firefix without webm support is out of the question? – Eroen – 2012-03-28T07:03:15.743

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. – Bob – 2012-03-28T07:45:11.257

1@Eroen - No, if I can somehow remove the WebM support from Firefox that would be fine. – Robert Fraser – 2012-03-28T09:19:15.217

1@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. – Robert Fraser – 2012-03-28T09:19:57.713

@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. – Eroen – 2012-03-28T09:52:45.193

@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) – Robert Fraser – 2012-03-28T22:56:58.110

Answers

15

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.

Eroen

Posted 2012-03-28T06:50:33.717

Reputation: 5 615

2

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

Rhys Parry

Posted 2012-03-28T06:50:33.717

Reputation: 21

1

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.

– DavidPostill – 2015-02-18T15:14:48.890

0

goto -> about:config -> media.windows-media-foundation.enabled -> false

เสริฐ ดินสอ

Posted 2012-03-28T06:50:33.717

Reputation: 1