Page 1 of 1

How to watch Netflix on Porteus x64

Posted: 16 Dec 2016, 19:45
by fulalas
I've spent some time trying to make this work, so here's the solution.

Observation: this only works for x64 systems.

The central problem when trying to watch Netflix videos is related to the Widevine Content Decryption Module DRM plugin. Below you'll see how to install it, but is good to know a way of checking if the plugin is working. Try to watch one of the DRM videos here: http://demo.castlabs.com/ (pay attention because not all videos are DRM protected)

---Chromium---
.Download Widevine Content Decryption Module DRM plugin and put it inside /usr/lib64/chromium. After restarting Chromium you should be OK to watch Netflix videos inside its website. If this doesn't work maybe it's a matter of missing dependencies, so type this on a terminal and check what's missing:

Code: Select all

ldd /usr/lib64/chromium/libwidevinecdm.so
---Opera---
.Download this xzm module that already comes with both required libs.

.Up to this moment Netflix doesn't believe Opera is capable of running protected videos, so we have to change Opera's Agent (i.e. tell Netflix that we're not running Opera, but other known browser). For this we have two solutions.

open Opera passing this parameter:

Code: Select all

--user-agent='Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36'
or
install DomainUserAgent extension and put a new entry like this:

Code: Select all

Domain: http://www.netflix.com
User agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36
This should be enough, but if it doesn't work, check missing dependencies as described in the Chromium section above.

---Firefox---
.Open 'Preferences' -> 'Content' and then check 'Play DRM content'.

.Now you have to change Firefox's Agent. Install User Agent Overrider add-on, open its preferences and insert this string in the end:

Code: Select all

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36
.Finally select this new string on the top right add-on icon and you're good to go.