wget (Is needed for downloading the ffmpeg lib and Chrome) sudo apt install wget
sudo apt install wget
unzip (Is needed for unzipping the downloaded file) sudo apt install unzip
sudo apt install unzip
Clone this repo and switch barnch
git clone https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine.git
````git checkout alt-ffmpeg```
Go to the repo root folder
cd ./fix-opera-linux-ffmpeg-widevine
Give execute permissions to the script file
chmod +x ./fix-opera.sh
Execute the script using sudo (Is needed for put the ffmpeg lib into the opera instalation folder)
sudo ./fix-opera.sh
Clone this repo
Create a script folder on your home
mkdir ~/.scripts
Copy the script into the script folder
cp ./fix-opera-linux-ffmpeg-widevine/fix-opera.sh ~/.scripts
chmod +x ~/.scripts/fix-opera.sh
Create an alias on the .bashrc file (Remember replace <YOUR_USER> for your linux user)
echo "alias fix-opera='sudo /home/<YOUR_USER>/.scripts/fix-opera.sh' # Opera fix HTML5 media" >> ~/.bashrc
Update .bashrc file
source ~/.bashrc
Delete the repo
rm -rf ./fix-opera-linux-ffmpeg-widevine