QWebEngine - Netflix support
I'm trying to run Netflix streaming inside a QWebEngineView.
So far it seems to almost work, better than with my previous attempt with QWebView
Here is the message I get:
Is there any way to set the "user agent" inside a QWebEngineView. with the QWebView, you could set it on the QWebPage in order to change the default user agent returned. I would like to try and test with another user agent to see if Netflix could work.
I see this is possible with QWebEngineProfile, but where is this class exactly? is it in 5.4.1?
I would have said userAgentForUrl of QWebEnginePage, but it looks like its not yet implemented
Thanks, I'll wait for it.
With QWebView you had to subclass QWebPage and implement userAgentForUrl(QString url) and I returned something different for netflix website, so it thinks I'm using chrome. Hacky but works ;)
I really like QWebEngineView so far, automatic cookie management is a nice feature.
plus flash seems to work out of the box
Found an anser here :
For Chromium to work with Netflix you have to have this plugins inside Chromium : Widevine Content Decryption Module
This plugin is installed by default in Chrome but not Chromium due to licensing reason (Widevine is not open-source).
Trying to find a way to install it inside Chromium
This post is deleted!