How to Fix No Audio/Playback Issue in Firefox Fedora 38

When you are trying to play video on Firefox but it’s not playing, read this guide to find a workaround to resolve this issue.

The chances are quite high that you will face this kind of problem when the system is missing an important codec that is required for playback.

Due to that, you will face problems like video not getting played, or sometimes you might hear just audio with no visuals appearing on the screen.

In my case, I’m not even allowed to play YouTube videos on the Firefox browser on a freshly installed Fedora 38 KDE.

But I managed to fix the problem by running a couple of commands, which I’m going to share with you so that you can also solve the problem.

How to Solve the No Audio or Playback Issue in Fedora

The possible solution to fix the no audio or playback issue like video is not getting displayed on the screen and some video are getting played, then it’s a clear indication of missing codec.

To install all the important codecs, you need to install GStreamer on your system, which will take care of all the codecs that are mostly required to play audio and files.

Now open your terminal get ready to fix this thing.

📝 Quick Action


🚀 To resolve this issue you need to install the required codec to your system, but before that you need to enable RPM fusion repositories:

$ sudo dnf install \$(rpm -E %fedora).noarch.rpm

$ sudo dnf install \$(rpm -E %fedora).noarch.rpm

Then run the below command to install all the essential codecs on Fedora:

$ sudo dnf install gstreamer1-plugins-{bad-\*,good-\*,base}\
 gstreamer1-libav --exclude=gstreamer1-plugins-bad-free-devel

$ sudo dnf install lame\* --exclude=lame-devel

$ sudo dnf group upgrade --with-optional Multimedia

Now restart the system or application.


Install RPM Fusion Repository

The first step you have to perform is to enable the RPM Fusion repository on your system so you can get the necessary codec that is not available in the default repo.

⚠️ RPM Fusion repository contains third-party packages that are free and open source, including proprietary and patented applications that require license agreements that don’t adhere to the notion of GPL licensing.

So before moving ahead, check that you are not violating any licensing agreements by using the RPM Fusion repository.

To know more read the FAQ.

To install the RPM Fusion repository, you need to execute the following command, which will add the free and non-free repositories to your system:

$ sudo dnf install \$(rpm -E %fedora).noarch.rpm

$ sudo dnf install \$(rpm -E %fedora).noarch.rpm

Once you install the repository, move on to the next step to install the codec.


Install Missing Codecs on Fedora to Fix no Audio/Video Issue

Now you are just left to run a couple of more commands that will make the necessary updates and install the required packages to resolve the issue.

To do so, run the following commands in the given order:

$ sudo dnf install gstreamer1-plugins-{bad-\*,good-\*,base}\
 gstreamer1-libav --exclude=gstreamer1-plugins-bad-free-devel

$ sudo dnf install lame\* --exclude=lame-devel

$ sudo dnf group upgrade --with-optional Multimedia

Once you are done with the changes, try to close the application or reboot the system to reflect the changes.

Wrap up

That’s all for this article, where you learned how to fix the problem of missing codecs, due to which you are not able to play multimedia content on your Fedora.

If you are having some problems watching Netflix on Linux with the Chrome/Firefox browser, then read this article to fix it.

Even after installing the package, if you are still facing the problem, let me know in the comment section.

So, I can help you resolve your issue.

With this, let me end here….and see you soon in the next article.

0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments