Here’s How to Watch Netflix on Linux Using Firefox

Brief: Firefox now enables you to play DRM content. This means you can watch Netflix on Firefox in Linux without painful workarounds.

Netflix is now available for Firefox on Linux

Perhaps the easiest way to watch Netflix on Linux is to install Google Chrome. For a long time, only Google Chrome was able to play Netflix videos on Linux. The main reason behind other prominent browsers such as Chromium and Firefox not playing Netflix videos relates to DRM.

DRM (Digital Rights Management) is the generic term used for technologies that control how users can use a digital media. The main aim is to protect the digital product from being copied, shared and pirated. It also enables the provider to restrict the content on their specific device.

For example, if you own a Kindle and ‘buy’ books from Amazon, you cannot read the eBook you bought on Amazon on a non-Amazon device such as Kobo. It’s as if you don’t even own the book you actually purchased. Issues like this are reasons why DRM has been constantly criticized by open source advocates.

In March 2017, Netflix announced the news that Netflix can be played on Firefox in Linux, without any gimmickry. All you have to do is to enable DRM.

How to play Netflix using Firefox on Linux

Today, if you try to play Netflix, you may see an error like this:

Netflix playback error on Firefox

The error reads:

Whoops, something went wrong...

Playback Error

There appears to be a problem with Firefox that is preventing Netflix from starting playback.

Please ensure that you are on the latest version of Firefox.

Error Code: F7702-1003

The reason behind this error is that you don’t have DRM enabled and thus you are missing Widevine plugin to decode the DRM protected Netflix content. It is the same if you try playing Spotify web player.

Let me show you how to enable DRM content playback on Firefox to watch Netflix or play Spotify on Linux.

Step 0: Make sure that you have the media codecs

You need the right codecs (libavcodec-extra). You can install this in Ubuntu-based distributions using this command and then repeat the above mentioned procedure:

sudo apt install libavcodec-extra ffmpeg

If you are using Fedora or some other distribution not based on Debian/Ubuntu, you can use your distribution’s package manager to install it.

Step 1: Enable DRM

Open Firefox, click on the Hamburger menu and click Settings.

firefox settings
Go to Settings in Firefox

In the settings, search for Digital Rights Management (DRM) Content field and check the box in front of Play DRM-controlled content.

drm firefox
Enable DRM playback on Firefox

This will start to install the Widevine plugin from Google. Depending on your network speed it will take a few minutes to install this add-on.

Step 2: Make sure that you have the required add-ons

It is always better to ensure that you have the right tools. Open a new tab in Firefox and type about:addons in the address bar. Make sure that you have Widevine and OpenH264 add-ons installed with ‘Always Active’ mode.

Playing Netflix on Firefox on Linux

Restart Firefox if required. You should now be able to play Netflix or Spotify or other websites like Hulu on Linux using DRM protected content.

Bonus Tip: Play Netflix in full HD

By default, Netflix plays only 720p at max in the Firefox browser. What a bummer! 720p is not even considered HD these days.

The good thing is that you can make Netflix stream full HD (1080p) on Firefox using an extension called Netflix 1080p.

firefox netflix 1080p extension

Install the extension, restart Firefox and enjoy Netflix in full HD.

What’s your say?

I know that DRM is a touchy issue and not everyone will be happy about Mozilla compromising on its earlier stand on DRM. But considering that EME is an HTML5 standard now, I think it was inevitable. At least end users can play Netflix and Amazon Videos with Firefox now.

How about you? Did you manage to play Netflix on Firefox? Do share your experience.

Similar Posts

  • Well, the solution provided by this blog is simply obvious and also standard configuration. The truth is noone is able to watch netflix and such on foss rather with firefox or chrome(ium) when using debianish forks. There are a lot comments which underline my statement.
    The truth is simple. They give a flying Duck about it. An this blog is copypasta’ing the useless Fixes and Workaround netflix is giving – pure clickbaiting.

    • Just because it didn’t work on your niche distribution, it doesn’t make everything in this world useless.
      I watch Netflix daily on Firefox on Ubuntu using the same ‘useless fixes’ I mentioned here and yes, it’s pretty obvious and standard configuration because it works in most scenarios.
      Instead of misguiding your frustration by calling us clickbait, useless etc, you could have tried some troubleshooting. Are you using 32-bit system? If yes, Netflix won’t work because Widevine is not available on 32-bit systems anymore.

      • I’ve been a Linux newbie for far too long. I left Msft. in 2009. I went back in 2011. When they made W10 have the same rules as W11 I left them for good (I hope). System76 Lemp10

        I’m old and simple but, even though I like being here with folks who mostly accept us newbies I seem unable to get Netflix to work on Pop!_OS. I have followed your article. I’ve closed and restarted Firefox twice, still no luck.

        Can you send me to someone willing to help me? Or can you suggest a way I might up my game and solve this myself?

        I am determined to learn Pop and never look back.