Hi,
This tutorial is about making netflix work on ubuntu mate 16.04 for rapsberry pi.
Step 1 : Install opengl driver and chromium
Follow all the steps of this tutorial and come back when it's done
Step 2 : Get widevine librairies from a chromebook image and copy it to chromium directory
To watch netflix on rpi we need some google librairies for decoding video stream and copy it to chromium.
Download the link after "url" :
wget https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_7077.134.0_daisy-skate_recovery_stable-channel_skate-mp.bin.zip
then unzip it :
unzip chromeos_7077.134.0_daisy-skate_recovery_stable-channel_skate-mp.bin.zip
Now, we need to mount the recovery image, and we will use kpartx for that :
sudo apt-get update sudo apt-get install kpartx mkdir /tmp/chromeos sudo kpartx -av chromeos_7077.134.0_daisy-skate_recovery_stable-channel_skate-mp.bin sudo mount -o loop,ro /dev/mapper/loop0p3 /tmp/chromeos/
the recocery image is mounted, so we can get the flash plugin in the directory :
cd /tmp/chromeos/opt/google/chrome/
And copy the widevine libs to your chromium libs directory :
sudo cp libwidevinecdm* /usr/lib/chromium-browser/
For some DRM video site you don't need the next step.
It is only for netfliw because it check browser user agent
Step 3 : Change user agent for netflix
You can use a chromium extention like switch user agent or change it with command line :
chromium-browser --user-agent="Mozilla/5.0 (X11; CrOS armv7l 6946.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36"
If you use user agent switcher extension add a new user agent with :
Mozilla/5.0 (X11; CrOS armv7l 6946.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36
Then set it for www.netflix.com only !
Video work great on my rpi3 even 720p ones !
Enjoy,
Aworan
Edit 1 : fix chromeos path