It is possible to install widevine (for ARM specifically) for Chromium and Firefox so that you can play DRM protected content on your EndevourOS Arm. An example could be spotify web player. It works on both Chromium and Firefox. You just need to reboot after the install and open and close these browsers a couple times and they will recognise it.
In your favorite terminal, do the following:
git clone https://codeberg.org/mogwai/widevine.git
cd widevine
makepkg -si
Then reboot. It takes a couple open/close cycles for the browsers to see it (don’t know why).
You can test it by going to this page: https://bitmovin.com/demos/drm
If you see blue check marks (it should say “using widevine”) then it means the browser can play DRM protected content.
PS: This alone will not be enough if you are using the “flatpak” versions of these browsers. However, there is a way to get the very same widevine to work on the flatpak version of Chromium (this is the one i am using)
What you need to do is to go to the “widevine” folder you created during the install, open the widevine-4.10.2710.0-8-aarch64.pkg.tar.xz file using ARK, within this archive, go to the folder “/opt/widevinecdm/chromium” and unpack the contents of this folder into the following folder in your system “/home/~username~/.var/app/org.chromium.Chromium/config/chromium/WidevineCdm/4.10.2710.0/”
Also set this environment variable:
–enable-widevine
by putting this line in a file named “chromium-flags.conf” and put that file in “/home/~username~/.var/app/org.chromium.Chromium/config/”
~username~ is your own username (whatever you have set it to).