Problems with Firefox from Fedora Flatpak

Some videos on YouTube are not playing.

I see this in the YouTube player window.

If I copy the debugging data, I see this:

"debug_error": "{\"errorCode\":\"fmt.decode\",\"errorMessage\":\"Ошибка. Повторите попытку позже.\",\"Rb\":\"GENERIC_WITHOUT_LINK\",\"LG\":\"vct.0.000;vd.844.521;vpl.;vbu.0.000-2.033;vbs.0.000-844.521;vpa.0;vsk.0;ven.0;vpr.1;vrs.1;vns.1;vec.3;vemsg.mozilla__MediaResult mozilla__FFmpegDataDecoder<61>__InitDecoder(AVCodec*_ AVDictionary**)_ Couldn't open avcodec;vvol.1;vdom.1;vsrc.1;vw.1840;vh.1035;mediaElem.1;trg.melem\",\"p8\":1,\"cpn\":\"PbAVWWgA9JBwgXiX\"}",

I use Firefox from the Fedora Flatpak repository. The version from the RPM package worked fine too. I also occasionally use VacuumTube from Flatpak, and it works fine as well.

I’ve already tried installing ffmpeg-full from Flathub and replaced the Fedora ffmpeg with the one from RPM Fusion, but the problem persists.
Please help me.

If anyone is interested, the Falkon browser from Fedora Flatpak has the same problem. However, the RPM version worked fine.

Firefox works with the codecs installed on the system and accessible to the app.

Firefox as Flatpak will access the rutime extensions defined in their metadata. If Firefox is installed as Flatpak from the Fedora remote, it accesses the org.fedoraproject.Platform runtimes, which don’t contain some of the codecs needed to play back specific videos.

Your options would be to either stick to the RPM version of Firefox from the repos, and install additional multimedia packages from RPM-Fusion, or just go with the Flatpak version from Flathub, which would automatically install the necessary runtime extensions from org.freedesktop.Platform.

1 Like

In general, the Firefox version from Fedora Flatpak is more limited in its capabilities for the sake of licensing compliance. Yes?

You can say so, though it’s not Firefox per se that is more limited, but rather that it cannot access needed codecs.

Shouldn’t this be solved by using Firefox from flathub flatpak instead?
Careful, I don’t know whether removing firefox from fedora flatpak, then installing firefox from flathub flatpak will delete your data, so please make a backup first.