@maydin95 You are hero!
For everyone who is struggling with ths widevine DRM nightmare, and still have problems with "Enable secure playback in your browser" (or other) on Spotify Web Player using Opera here is what I did step by step (for newbie like me that are new to linux) to fix it:
I am using Opera 64.0.3417.92 and Deepin Linux 15.11.
-
Close all web-browsers.
-
Download this file https://gist.github.com/ruario/3c873d43eb20553d5014bd4d29fe37f1 then execute it in terminal
sudo sh latest-widevine.sh
This will download newest version of widevine (for today this is 4.10.1440.19) to /opt/google/chrome folder.
- Using command
cd /usr/lib/x86_64-linux-gnu/opera/resources/
or file manager go to this folder and edit file widevine_config.json
I edited it so it looks this way:
(I don't know if it is super correct, but whatever)
- Go to folder /usr/lib/x86_64-linux-gnu/opera and remove not working proprietary codecs file using command
sudo rm -f libffmpeg.so
- Download this: https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/
(For today I used 0.41.3-linux-x64.zip)
Extract file
libffmpeg.so
and copy it to the folder where you removed not working version with command:
sudo cp ~/Downloads/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/
- Run Opera browser. Visit https://bitmovin.com/demos/drm . If everything went OK then you will see
That mean that Spotify and Netflix should run on Opera browser without any issues.
Proof (that everything is working with Opera as well on Google Chrome)