[Qtwebengine] Pepper plugins (flash/widevine) on Linux

Dmitry B linuxsquirrel.dev at gmail.com
Sat Oct 17 01:58:04 CEST 2015


With another DRM demo http://demo.castlabs.com/ it still doesn't work (and
with Chrome/Chromium 45 work fine). Apparently WideVine is not supported in
the version of Chromium shipped with QtWebEngine 5.6. Do you have any plans
to support it?

2015-10-15 10:47 GMT-07:00 Dmitry B <linuxsquirrel.dev at gmail.com>:

> Hi. Well, actually an issue with flash was my fault. It is working more or
> less. I am able to open flash-based websites. But with WideVine I still
> cannot see DR content. For example:
>
> export
> LD_LIBRARY_PATH=/opt/Qt-custom/lib:/usr/lib/chromium-browser/libs:/usr/lib/chromium-browser:/opt
> ./demobrowser --ppapi-out-of-process
> --register-pepper-plugins="/opt/libwidevinecdmadapter.so;application/x-ppapi-widevine-cdm"
> http://ssdemo04.swankmp.net/
>
> The HTML page says "Unfortunately, your browser is not supported."
>
> /opt/libwidevinecdmadapter.so is copied from Ubuntu version of Chromium
> (45.0.2454.101-0ubuntu0.14.04.1.1099). Since Chromium's
> libwidevinecdmadapter.so depends on libbase.so, I added Chromum's library
> path to LD_LIBRARY_PATH
>
> BTW strace shows that it at least opens
> libwidevinecdmadapter.so/libwidevinecdm.so without errors.
>
> The second test tries libwidevinecdmadapter.so/libwidevinecdm.so from
> Google Chrome. I've replaced those libraries in /opt and run again:
>
> export LD_LIBRARY_PATH=/opt/Qt-custom/lib:/opt
> ./demobrowser --ppapi-out-of-process
> --register-pepper-plugins="/opt/libwidevinecdmadapter.so;application/x-ppapi-widevine-cdm"
> http://ssdemo04.swankmp.net/
>
> Still says "Unfortunately, your browser is not supported.". With Google
> Chrome and Ubuntu Chromium that page works OK.
>
> Maybe I am missing something?
>
>
> 2015-10-15 2:38 GMT-07:00 Allan Sandfeld Jensen <
> allan.jensen at theqtcompany.com>:
>
>> On Thursday 15 October 2015, Dmitry B wrote:
>> > Hi everybody.
>> >
>> > Does the current Qt 5.6 from GIT support PEPPER plugins such as flash
>> and
>> > WideVine? I tried the latest GIT version and it cannot find flash PEPPER
>> > plugin on Ubuntu 14.04, however I have
>> > /usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so installed.
>> Maybe I
>> > am missing something? Any help is appreciated.
>>
>> No that should be one of the paths we explicitly search, see
>> content_client_qt.cpp:118
>>
>> How are you testing it?
>> --
>>
>> The Qt Company
>> Rudower Chausse 13, 12489 D-Berlin
>>
>> The Qt Company is a group company of Digia Plc,
>> Valimotie 21, FI-00380 Helsinki Finland
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qtwebengine/attachments/20151016/6bb14057/attachment.html>


More information about the QtWebEngine mailing list