Widevine support in Librem 5

For what it’s worth, my understanding is that widevine is terrible, terrible software. Its purpose is to take away the freedom of technology and people. No one should use widevine, on a Librem 5 or on any other device.

I can understand circumstances where people have no other option and need to use it, so I’m glad for the collaboration on this thread. Just thought I’d throw in my two cents, in case someone reading this thread isn’t aware.

5 Likes

It’s owned by Google, after all, and they only have one mission, cleverly disguised as sweet, wonderful, free stuff. :rofl:

5 Likes

…until you realize it’s a trap. :money_mouth_face:

3 Likes

Setting up Widevinecdm for firefox-esr (following the procedure described at the link: Widevine on Mobile/ARM Linux | Luigi311)

  1. On the phone in console mode, do:

sudo apt install curl git python3 squashfs-tools
cd ~/Public
git clone ``https://github.com/AsahiLinux/widevine-installer.git
cd widevine-installer

  1. Find the directory where to import the library

export LIBDIR=$(dirname $(find /usr/lib* -name “firefox-esr” -type d))
echo “$LIBDIR”

  1. If the LIBDIR string is not empty, fix the installation script to take into account the firefox-esr version (not firefox). If the string is empty, firefox-esr is not installed

sed ‘s/firefox/firefox-esr/’ ./widevine-installer

  1. Run the script

sudo LIBDIR=“$LIBDIR” ./widevine-installer

  1. Reboot the phone so that widevine is taken into account in firefox-esr.

  2. If you haven’t already done so, you need to enable DRM in the firefox-esr options. To do so :

  • Launch firefox-esr
  • Type about:config in the url bar
  • Find the browser.eme.ui.enabled parameter and set it to true (if it isn’t already). This will bring up a “Digital Rigths Management (DRM) Content Play DRM controlled content” checkbox
  • Open the firefox-esr settings and check the checkbox that now appears above the “Firefox updates” section
4 Likes