mirror of
https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine.git
synced 2025-12-29 03:23:00 +03:00
Fix Opera ffmpeg library
- Add script - Add Readme
This commit is contained in:
68
README.md
68
README.md
@@ -1,2 +1,66 @@
|
||||
# fix-opera-linux-ffmpeg
|
||||
Run this script to fix opera for allow html5 media
|
||||
# Fix Opera Linux ffmpeg
|
||||
|
||||
* Fix Opera html5 media content.
|
||||
* It script must be execute all times opera will fails on showing html5 media content.
|
||||
|
||||
## Index
|
||||
|
||||
* [Requirements](##Requirements)
|
||||
* [How use](##How-use)
|
||||
* [Create an alias](##Create-an-alias)
|
||||
|
||||
### Requirements
|
||||
|
||||
1. **curl** (Is needed for downloading the ffmpeg lib)
|
||||
```sudo apt install curl```
|
||||
|
||||
2. **unzip** (Is needed for unzipping the downloaded file)
|
||||
```sudo apt install unzip```
|
||||
|
||||
### How use
|
||||
|
||||
1. Clone this repo
|
||||
|
||||
```git clone https://github.com/nicolas-meilan/fix-opera-linux-ffmpeg.git```
|
||||
|
||||
2. Go to the repo root folder
|
||||
|
||||
```cd ./fix-opera-linux-ffmpeg```
|
||||
|
||||
3. Give execute permissions to the script file
|
||||
|
||||
```chmod +x ./fix-opera.sh```
|
||||
|
||||
4. Execute the script using sudo (Is needed for put the ffmpeg lib into the opera instalation folder)
|
||||
|
||||
```sudo ./fix-opera.sh```
|
||||
|
||||
### Create an alias
|
||||
|
||||
1. Clone this repo
|
||||
|
||||
```git clone https://github.com/nicolas-meilan/fix-opera-linux-ffmpeg.git```
|
||||
|
||||
2. Create a **script** folder on your **home**
|
||||
|
||||
```mkdir ~/.script```
|
||||
|
||||
3. Copy the script into the **script** folder
|
||||
|
||||
```cp ./fix-opera-linux-ffmpeg/fix-opera.sh ~/.script```
|
||||
|
||||
4. Give execute permissions to the script file
|
||||
|
||||
```chmod +x ~/.script/fix-opera-linux-ffmpeg/fix-opera.sh```
|
||||
|
||||
5. 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```
|
||||
|
||||
6. Update **.bashrc** file
|
||||
|
||||
```source ~/.bashrc```
|
||||
|
||||
7. Delete the repo
|
||||
|
||||
```rm -rf ./fix-opera-linux-ffmpeg```
|
||||
Reference in New Issue
Block a user