How to Fix Ubuntu Firefox Not Playing Netflix, Spotify Web, or Disney+ (DRM Fix)

Signing into Netflix, Spotify Web Player, Amazon Prime Video, or Disney+ on a fresh Ubuntu installation inside Firefox — only to hit a black video screen or an error complaining that Digital Rights Management (DRM) or Widevine components are missing — catches new Ubuntu users off guard straight away. Firefox leaves protected media playback disabled until you tick one single checkbox in Settings. Here is how to get streaming working in thirty seconds.

1. Enable Play DRM-Controlled Content in Ubuntu Firefox Settings

Turning this setting on prompts Firefox to download Google’s official Widevine Content Decryption Module cleanly in the background with no Terminal commands required.

  1. Open Firefox on Ubuntu.
  2. Click the three-line Menu button in the top-right corner and select Settings.
  3. Stay on the General tab in the left sidebar.
  4. Scroll down to the Digital Rights Management (DRM) Content section.
  5. Tick the checkbox labelled Play DRM-controlled content.
  6. Watch for a yellow banner briefly saying “Firefox is installing components needed to play the audio or video on this page” — wait fifteen seconds, refresh your Netflix or Spotify tab, and press Play.

2. Install Ubuntu Media Codecs If Video Still Fails or Lacks Sound

Even with DRM turned on, streaming sites rely on standard H.264 and AAC decoders inside Ubuntu for audio and picture playback (particularly outside Spotify Web):

  1. Press Ctrl + Alt + T to open Terminal.
  2. Run:
    sudo apt update && sudo apt install ubuntu-restricted-extras
  3. Confirm installation (press Tab -> Enter if a font licence screen appears), then restart Firefox completely so the Widevine plugin and system decoders reload together.

3. Check Content Blockers or VPNs Triggering Proxy Errors

If Firefox plays trailers fine yet blocks actual films with a streaming error code after turning DRM on, test pausing strict ad-block extensions temporarily on that tab and disconnect any active VPN, since many streaming services intentionally block VPN servers even when DRM works smoothly.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.