How to fix Opera not displaying Facebook and Twitter videos issue on Linux

How to fix Opera not displaying Facebook and Twitter videos issue on Linux

Photo Illustration by Mateusz Slodkowski/SOPA | Images/LightRocket via Getty Images

Since I started using Linux in 1997, there’s been one issue that has never failed to be a part of the open-source platform…the legality of playing certain multimedia codecs. It’s one of the reasons why, in certain operating systems, you must install those codecs from a third party and agree to their licenses. 

Also: How to choose the right Linux desktop distribution for you

Just to be clear, it’s not a Linux thing, it’s a legal thing. And don’t be mistaken, it’s not illegal to play those media files on Linux, it’s just that licenses must be agreed to, in order to keep things above board. And in some cases, there are no licenses to agree to…it’s just the installation must be undertaken by the user.

It’s a similar situation to the playing of videos on social media platforms like Facebook and Twitter. You might have come across those black squares that state the video cannot be displayed.

Also: How to install Ubuntu Linux (It’s easy!)

Fortunately, there’s a fix for it and I’m going to walk you through the process.

How to fix Opera’s missing video issue

What you’ll need: The only things you’ll need to resolve this issue are a running instance of the Opera browser (or a browser based on Opera, such as Vivaldi) and a user with sudo privileges. That’s it. Let’s get to the fix.

The first thing to do is open a terminal window and install the snap version of chromium-ffmpeg. For those who don’t know this software, it’s a command line tool for the manipulation, conversion, and streaming of multimedia content. To install chromium-ffmepg, issue the following command:

sudo snap install chromium-ffmpeg

With the software installed, you have to create a link (symlink) such that Opera can use the shared object file, Before you do that, you must find out where is. First, check the chromium-ffmpeg directory with the command:

ls /snap/chromium-ffmpeg/

You’ll probably see two directories:

It’s the 30 directory you want, but if you see a number higher than 30, that’s the one you’ll use. 

Next. you want to check out which child directory houses the .so file. For that, issue the command:

ls /snap/chromium-ffmpeg/30

You’ll probably see a number of sub-directories, such as chromium-ffmpeg-108372. You’re looking for the directory with the highest number, which will be the directory that houses the most recent version of the file.

We can now create the link from the chromium-ffmpeg directory to the correct Opera directory with a command like this:

sudo ln -s /snap/chromium-ffmpeg/30/chromium-ffmpeg-108372/chromium-ffmpeg/ /usr/lib/x86_64-linux-gnu/ope

If, after running the command, you get an error saying the file already exists, rename it with the command:

sudo mv /usr/lib/x86_64-linux-gnu/opera/ /usr/lib/x86_64-linux-gnu/opera/

After running the above command, run the link command again and it will succeed.

Also: 8 things you can do with Linux that you can’t do with MacOS or Windows

Once you’ve issued the final command, close and re-open Opera and the problem should be resolved. Videos will now play without issue on the Opera browser running on Linux.

Original Article

Disclaimer : is an automatic aggregator around the global media. All the content are available free on Internet. We have just arranged it in one platform for educational purpose only. In each content, the hyperlink to the primary source is specified. All trademarks belong to their rightful owners, all materials to their authors. If you are the owner of the content and do not want us to publish your materials on our website, please contact us – The content will be deleted within 24 hours.


Please enter your comment!
Please enter your name here