+4 votes
in Operating Systems by (14.6k 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 (17.8k points)

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
+2 votes
1 answer
+2 votes
1 answer
asked Dec 29, 2015 in Operating Systems by praveen (20.3k points)

...