Some videos failing to play in Firefox but work in Google Chrome (Fedora Linux)

Solved

Browser: Version 109.0 (64-bit) Mozilla Firefox for Fedora

OS: Fedora Linux 37 (Workstation Edition)

Add-Ons: uBlock Origin SponsorBlock for YouTube Ecosia Return YouTube Dislike AdBlocker for YouTube

Problem: Some videos don't run on Firefox, but do on Google Chrome.

  • YouTube (less than 1/10 fail, but still happens every few days)
  • Reddit (all fail, flicker between preview buffer)
  • Dropout (all fail, stuck on preview)
  • various other bespoke video players on other websites

Solution: Both the Fedora Linux Flatpak and the Fedora Linux RPM have this issue, which is annoying since it's the first search result in Gnome Software on Fedora. Switching to the version from the Fedora Flathub Selection resolves the issue (for me, that's the one with no rating/reviews made by "Mozilla", not "Mozilla Corporation").

Posted Jan 19, 2023, 3:33 AM UTC · edited

18
nextbern:nightly: on :linux: :android: 🌻•

You may need to install support for patent encumbered codecs if you haven't already.

3
GoogelplexOP•

Which ones would that be? I've already installed GStreamer Multimedia Codecs Base/Extra/Non Free/License Issues/H.264 and openh264

1
nextbern:nightly: on :linux: :android: 🌻•

H.264 should generally work. What is an example video that doesn't work?

1
GoogelplexOP•

I neglected to note it down. I'll make sure to do so next time and get back to you.

2
dotsang•

Same was happening to me, I went the extensions/plugins and noticed one of the codecs was not loading properly. There's another Firefox on flathub that worked for me.

1
GoogelplexOP•

I've tried both the Fedora RPM and the Fedora Flatpak, and I'm not seeing any more in the drop-down in Gnome software (I know that I have Flatpaks enabled). Are there multiple Flatpaks for Firefox?

1
dotsang•

If you search for "Firefox" when you open the Software app in Fedora, there are two different ones. Try the one you don't have installed... or if you install directly from terminal it's still the stable 108 version, and that also works for me.

0
GoogelplexOP•

Thanks a ton, the other one fixed it! Now Dropout works fine (and I assume YouTube will too, though it's harder to verify).

1