Use YouTube without flash installed in Firefox

Being a Firefox user, you might face an issue that some videos do not play for you when you don't have Adobe Flash installed. Luckily for us, Firefox is an HTML5 compatible browser. Instead of installing Flash, you can tweak the browser and make YouTube work for you without Flash. To get it working, you need to enable the Media Source Extensions feature which is disabled by default.

To check the Media Source Extensions feature state, we can refer to YouTube's HTML5 test page.
Click this page in Firefox to open it.
From the picture below, you can see that the browser does not have Media Source Extensions yet.
no mse
Let's enable it.

  1. Open a new tab and enter the following text in the address bar:
    about:config

    Confirm that you will be careful if a warning message appears for you.

  2. Find and set the following value to true:
    media.mediasource.enabled
  3. Right-click the values list and execute New > Boolean:
    firefox new boolean
  4. Name it media.mediasource.ignore_codecs and set to true.
    media.ignore_codecs
    true
  5. Restart Firefox and visit the same HTML5 page:
    Youtube MSE enabled in Firefox
  6. Click Request the HTML5 Player to switch YouTube to HTML5:
    Request the HTML5 Player

Now your Firefox browser will play more videos and not only at YouTube.
If this trick makes your Firefox less stable or produces some other issues, it is easy to set everything back:

  1. Set media.mediasource.enabled to false in about:config.
  2. Go to the YouTube HTML5 page and click "Use the default player".
  3. Restart Firefox.

That's it.

Advertisment

5 thoughts on “Use YouTube without flash installed in Firefox

  1. MDJ

    I knew about YouTube HTML5 support long time ago but this, updated version of the trick, sounds even better. Can‘t wait to test this out!

    Reply
    1. MDJ

      It looks like I didn‘t read the title when I wrote this comment. HTML5 in YouTube works without changing that option. At least in my case, changing it led to problems when playing videos.

      Reply
      1. Sergey Tkachenko Post author

        Hmm. I am using it (well, it is Linux Firefox without flash installed). In my personal case, with MSE enabled YT works better for me.

        Reply
  2. Curly

    Is that why videos never work when Bing has a animated image of the day?

    Reply
    1. Sergey Tkachenko Post author

      Probably. I have not checked it.

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *