+4 votes
in Operating Systems by (40.5k points)
I have a fresh installation of Ubuntu 20 on my machine. But I am facing an issue with running videos on the Mozilla Firefox browser. When I open any video or if any google ads contain video, the browser gives a message - "you need to install video codec to run video files".

How can I install video or any media codec on Ubuntu 20?

1 Answer

+3 votes
by (56.7k points)
selected by
 
Best answer

You need to install the "ubuntu-restricted-extras" package to get rid of the issue. 

Do the following steps to install this package:

1. Update the package repository using the following command:

sudo apt update

2. Install the package using the following command:

sudo apt install ubuntu-restricted-extras

3. Close the browser and reopen it. Hopefully, you will not see the problem now.

Related questions

+4 votes
1 answer
+3 votes
1 answer
+3 votes
1 answer

...