Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

Can't play facebook videos or GIFS in Opera w/Linux Mint

  • tihs happened to me and i codunt find any solution for opera .so i uninstalled opera and installed opera -beta or opera developer version instead ..both works properly without any problems playing all videos..

  • @toof Thanks a lot, your solution works perfectly and you saved my time!

  • @toof On Ubuntu the path is /usr/lib/x86_64-linux-gnu/opera/

  • @toof This also fixed my issue after literally trying everything else and spending days trying to fix this. Thank you OP!

  • I've created script to automate a bit this thing, which @toof mentioned. It's written for Ubuntu and specific version to be downloaded but you can reassign the values as you need.

    #!/bin/bash

    zip_name=0.35.4-linux-x64.zip
    dir_to_unzip=/usr/lib/x86_64-linux-gnu/opera

    cd /tmp
    wget https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.35.4/$zip_name -q --show-progress

    sudo unzip -o $zip_name -d $dir_to_unzip

    rm $zip_name

  • @damianw345
    Sorry but I couldn't find the edit comment option.

    I've updated the script to always download latest version.

    #!/bin/bash
    
    latest_version_url=$(curl https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/latest -s -L -I -o /dev/null -w '%{url_effective}')
    latest_version=${latest_version_url##*/}
    
    zip_name="$latest_version-linux-x64.zip"
    
    dir_to_unzip=/usr/lib/x86_64-linux-gnu/opera
    
    cd /tmp 
    wget https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/$latest_version/$zip_name -q --show-progress
    
    sudo unzip -o $zip_name -d $dir_to_unzip
    
    rm $zip_name
    
  • My script for me (Debian/sid):

    #!/bin/sh
    # https://packages.ubuntu.com/cosmic/amd64/chromium-codecs-ffmpeg-extra/download
    
    lib_opera=/usr/lib/x86_64-linux-gnu/opera
    dl_url=http://security.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/
    dl_package=chromium-codecs-ffmpeg-extra
    dl_deb=_73.0.3683.86-0ubuntu0.18.10.1_amd64.deb  # modify the version number
    
    tmpfolder=/tmp/${dl_package}
    mkdir -p ${tmpfolder}
    
    wget ${dl_url}${dl_package}${dl_deb} -P ${tmpfolder}
    cd ${tmpfolder}
    
    ar -x ${dl_package}${dl_deb}
    tar -xJf data.tar.xz
    
    # with sudo
    sudo cp ${tmpfolder}/usr/lib/chromium-browser/libffmpeg.so ${lib_opera}/libffmpeg.so
    
    # without sudo but run the script as root
    # cp ${tmpfolder}/usr/lib/chromium-browser/libffmpeg.so ${lib_opera}/libffmpeg.so
    
    cd ..
    rm -r ${tmpfolder}
    
  • @damianw345 your script worked for me. Thank you very much!

Log in to reply