From me at herrie.org Fri Sep 16 16:54:47 2016 From: me at herrie.org (Herman van Hazendonk) Date: Fri, 16 Sep 2016 16:54:47 +0200 Subject: [Qtwebengine] Any way to debug seemingly not working Pepper Flash plugin? In-Reply-To: References: Message-ID: <3cb8b68079e27bea6202c0484e7c7140@herrie.org> I'm trying to get Pepper Flash Plugin working on our QtWebEngine 5.6+ that's compiled using the meta-qt5 layer (https://github.com/meta-qt5/meta-qt5) I made sure I have enable_plugins set properly during the build & enabled the plugins setting in our WebEngineView, just it seems that Flash support is not working when I place the libpepflashplugin.so in the locations as indicated. I tried: /usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so /usr/lib/PepperFlash/libpepflashplayer.so /usr/lib/qt5/plugins/ppapi/libpepflashplayer.so Any ideas how I can see if the plugin is loaded properly? Is there something equivalent to Chrome's: chrome://plugins or Firefox' about:plugins available? Any suggestions for debugging this would be welcome! Thanks, Herman From heiko.nardmann at itechnical.de Fri Sep 16 18:50:44 2016 From: heiko.nardmann at itechnical.de (Heiko Nardmann) Date: Fri, 16 Sep 2016 18:50:44 +0200 Subject: [Qtwebengine] Any way to debug seemingly not working Pepper Flash plugin? In-Reply-To: <3cb8b68079e27bea6202c0484e7c7140@herrie.org> References: <3cb8b68079e27bea6202c0484e7c7140@herrie.org> Message-ID: On Linux you could have a look at the loaded shared libraries of a process - either using proc filesystem or using lsof. Maybe that helps? Otherwise you might try strace. Kind regards, Heiko Nardmann Am 16.09.2016 um 16:54 schrieb Herman van Hazendonk: > I'm trying to get Pepper Flash Plugin working on our QtWebEngine 5.6+ > that's compiled using the meta-qt5 layer > (https://github.com/meta-qt5/meta-qt5) > > I made sure I have enable_plugins set properly during the build & > enabled the plugins setting in our WebEngineView, just it seems that > Flash support is not working when I place the libpepflashplugin.so in > the locations as indicated. I tried: > > /usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so > /usr/lib/PepperFlash/libpepflashplayer.so > /usr/lib/qt5/plugins/ppapi/libpepflashplayer.so > > Any ideas how I can see if the plugin is loaded properly? Is there > something equivalent to Chrome's: chrome://plugins or Firefox' > about:plugins available? > > Any suggestions for debugging this would be welcome! > > Thanks, > Herman > _______________________________________________ > QtWebEngine mailing list > QtWebEngine at qt-project.org > http://lists.qt-project.org/mailman/listinfo/qtwebengine -- Heiko Nardmann (Dipl.-Ing. Technische Informatik) Fürthener Straße 10 51570 Windeck Mobil +49 170 5973746 Tel. +49 2682 964351 E-Mail: heiko.nardmann at itechnical.de Fax +49 2682 2033052 -------------- next part -------------- An HTML attachment was scrubbed... URL: From allan.jensen at qt.io Fri Sep 16 21:55:45 2016 From: allan.jensen at qt.io (Allan Sandfeld Jensen) Date: Fri, 16 Sep 2016 21:55:45 +0200 Subject: [Qtwebengine] Any way to debug seemingly not working Pepper Flash plugin? In-Reply-To: <3cb8b68079e27bea6202c0484e7c7140@herrie.org> References: <3cb8b68079e27bea6202c0484e7c7140@herrie.org> Message-ID: <201609162155.45688.allan.jensen@qt.io> On Friday 16 September 2016, Herman van Hazendonk wrote: > I'm trying to get Pepper Flash Plugin working on our QtWebEngine 5.6+ > that's compiled using the meta-qt5 layer > (https://github.com/meta-qt5/meta-qt5) > > I made sure I have enable_plugins set properly during the build & > enabled the plugins setting in our WebEngineView, just it seems that > Flash support is not working when I place the libpepflashplugin.so in > the locations as indicated. I tried: > > /usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so > /usr/lib/PepperFlash/libpepflashplayer.so > /usr/lib/qt5/plugins/ppapi/libpepflashplayer.so > > Any ideas how I can see if the plugin is loaded properly? Is there > something equivalent to Chrome's: chrome://plugins or Firefox' > about:plugins available? > > Any suggestions for debugging this would be welcome! > You can try Adobe flash test site. Also, remember to enable Plugins in QtWebEngineSettings. It is off by default if I remember correctly, Best regards `Allan -- 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 From me at herrie.org Fri Sep 16 21:59:56 2016 From: me at herrie.org (Herman van Hazendonk) Date: Fri, 16 Sep 2016 21:59:56 +0200 Subject: [Qtwebengine] Any way to debug seemingly not working Pepper Flash plugin? In-Reply-To: <201609162155.45688.allan.jensen@qt.io> References: <3cb8b68079e27bea6202c0484e7c7140@herrie.org> <201609162155.45688.allan.jensen@qt.io> Message-ID: Hi Allan, Thanks, I have the plugins enabled in the settings. The Adobe flash site is the one I'm trying at that's the one not working. My logs don't tell much useful. Herman On 2016-09-16 21:55, Allan Sandfeld Jensen wrote: > On Friday 16 September 2016, Herman van Hazendonk wrote: >> I'm trying to get Pepper Flash Plugin working on our QtWebEngine 5.6+ >> that's compiled using the meta-qt5 layer >> (https://github.com/meta-qt5/meta-qt5) >> >> I made sure I have enable_plugins set properly during the build & >> enabled the plugins setting in our WebEngineView, just it seems that >> Flash support is not working when I place the libpepflashplugin.so in >> the locations as indicated. I tried: >> >> /usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so >> /usr/lib/PepperFlash/libpepflashplayer.so >> /usr/lib/qt5/plugins/ppapi/libpepflashplayer.so >> >> Any ideas how I can see if the plugin is loaded properly? Is there >> something equivalent to Chrome's: chrome://plugins or Firefox' >> about:plugins available? >> >> Any suggestions for debugging this would be welcome! >> > You can try Adobe flash test site. > > Also, remember to enable Plugins in QtWebEngineSettings. It is off by > default > if I remember correctly, > > Best regards > `Allan From allan.jensen at qt.io Fri Sep 16 22:18:30 2016 From: allan.jensen at qt.io (Allan Sandfeld Jensen) Date: Fri, 16 Sep 2016 22:18:30 +0200 Subject: [Qtwebengine] Any way to debug seemingly not working Pepper Flash plugin? In-Reply-To: References: <201609162155.45688.allan.jensen@qt.io> Message-ID: <201609162218.31023.allan.jensen@qt.io> On Friday 16 September 2016, Herman van Hazendonk wrote: > Hi Allan, > > Thanks, I have the plugins enabled in the settings. The Adobe flash site > is the one I'm trying at that's the one not working. > > My logs don't tell much useful. > Have you enabled all the logs? You can add two command line options to Chromium and QtWebEngine --enable- logging and --log-level=0 . With QtWebEngine 5.7 you can also do -vvvvvv and similar to add verbose logging. -- 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 From me at herrie.org Fri Sep 16 22:21:29 2016 From: me at herrie.org (Herman van Hazendonk) Date: Fri, 16 Sep 2016 22:21:29 +0200 Subject: [Qtwebengine] Any way to debug seemingly not working Pepper Flash plugin? In-Reply-To: References: <3cb8b68079e27bea6202c0484e7c7140@herrie.org> Message-ID: <402ec874adf3759c0494d5a057038566@herrie.org> Hi Heiko, Thanks will give that a go :) Herman On 2016-09-16 18:50, Heiko Nardmann wrote: > On Linux you could have a look at the loaded shared libraries of a > process - either using proc filesystem or using lsof. > > Maybe that helps? > > Otherwise you might try strace. > > Kind regards, > > Heiko Nardmann > > Am 16.09.2016 um 16:54 schrieb Herman van Hazendonk: > >> I'm trying to get Pepper Flash Plugin working on our QtWebEngine >> 5.6+ that's compiled using the meta-qt5 layer >> (https://github.com/meta-qt5/meta-qt5) >> >> I made sure I have enable_plugins set properly during the build & >> enabled the plugins setting in our WebEngineView, just it seems that >> Flash support is not working when I place the libpepflashplugin.so >> in the locations as indicated. I tried: >> >> /usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so >> /usr/lib/PepperFlash/libpepflashplayer.so >> /usr/lib/qt5/plugins/ppapi/libpepflashplayer.so >> >> Any ideas how I can see if the plugin is loaded properly? Is there >> something equivalent to Chrome's: chrome://plugins or Firefox' >> about:plugins available? >> >> Any suggestions for debugging this would be welcome! >> >> Thanks, >> Herman >> _______________________________________________ >> QtWebEngine mailing list >> QtWebEngine at qt-project.org >> http://lists.qt-project.org/mailman/listinfo/qtwebengine > > -- > Heiko Nardmann (Dipl.-Ing. Technische Informatik) > > Fürthener Straße 10 > > 51570 Windeck > > Mobil +49 170 5973746 > > Tel. +49 2682 964351 > > E-Mail: heiko.nardmann at itechnical.de [1] > > Fax +49 2682 2033052 > > Links: > ------ > [1] http://transip.email/heiko.nardmann at itechnical.de > > _______________________________________________ > QtWebEngine mailing list > QtWebEngine at qt-project.org > http://lists.qt-project.org/mailman/listinfo/qtwebengine From allan.jensen at qt.io Fri Sep 16 22:22:44 2016 From: allan.jensen at qt.io (Allan Sandfeld Jensen) Date: Fri, 16 Sep 2016 22:22:44 +0200 Subject: [Qtwebengine] Any way to debug seemingly not working Pepper Flash plugin? In-Reply-To: References: <201609162155.45688.allan.jensen@qt.io> Message-ID: <201609162222.44565.allan.jensen@qt.io> On Friday 16 September 2016, Herman van Hazendonk wrote: > Hi Allan, > > Thanks, I have the plugins enabled in the settings. The Adobe flash site > is the one I'm trying at that's the one not working. > > My logs don't tell much useful. > Actually I remember having trouble with Adobe site too. I am not sure it is functional. You can try another flash site. Like adultswim, robot unicorn attack for instance. -- The Qt Company Rudower Chausse 13, 12489 D-Berlin From me at mknln.com Thu Sep 22 00:17:05 2016 From: me at mknln.com (Mike Nolan) Date: Wed, 21 Sep 2016 15:17:05 -0700 Subject: [Qtwebengine] Loading widevine via ppapi-widevine-path Message-ID: Hi all, When I try to load my application via ./WebBrowser --ppapi-widevine-path=/usr/lib/ppapi-plugins/libwidevinecdmadapter.so I get an error upon trying to use Widevine [0921/164137:ppapi_thread.cc(331)] Failed to load Pepper module from /usr/lib/ppapi-plugins/libwidevinecdmadapter.so: cannot open shared object file: Operation not permitted At first I figured it was permissions, so I tried to set them to 777, as a start. That didn't fix it, so then I tried to mv /opt/google/chrome/libwidevinecdmadapter.so to /opt/google/chrome/libwidevinecdmadapter.so.bak and pass it in. ./WebBrowser --ppapi-widevine-path=/usr/lib/ppapi-plugins/libwidevinecdmadapter.so.bak Same error! So at this point I'm wondering if this is just not working. Is anyone willing to try? Maybe it's a dumb error I'm making as well, but I can't see it. Note that it works fine when I don't try to use --ppapi-widevine-path and instead let it read from the default path of /opt/google/chrome/libwidevinecdmadapter.so. Netflix and other DRM content works. I'm doing this from the v5.7.0 branch of QtWebengine, on Linux. Thanks, Mike From allan.jensen at qt.io Thu Sep 22 10:08:43 2016 From: allan.jensen at qt.io (Allan Sandfeld Jensen) Date: Thu, 22 Sep 2016 10:08:43 +0200 Subject: [Qtwebengine] Loading widevine via ppapi-widevine-path In-Reply-To: References: Message-ID: <201609221008.43886.allan.jensen@qt.io> On Thursday 22 September 2016, Mike Nolan wrote: > Hi all, > > When I try to load my application via > > ./WebBrowser > --ppapi-widevine-path=/usr/lib/ppapi-plugins/libwidevinecdmadapter.so > > I get an error upon trying to use Widevine > > [0921/164137:ppapi_thread.cc(331)] Failed to load Pepper module from > /usr/lib/ppapi-plugins/libwidevinecdmadapter.so: cannot open shared > object file: Operation not permitted > Interesting, I will try to replicate that. Is /usr/lib/ppapi-plugins a path you made, or is that a new standard for distro? -- The Qt Company Rudower Chausse 13, 12489 D-Berlin From me at mknln.com Thu Sep 22 18:28:41 2016 From: me at mknln.com (Mike Nolan) Date: Thu, 22 Sep 2016 09:28:41 -0700 Subject: [Qtwebengine] Loading widevine via ppapi-widevine-path In-Reply-To: <201609221008.43886.allan.jensen@qt.io> References: <201609221008.43886.allan.jensen@qt.io> Message-ID: <4f836c3b9d89f0c3b75cdf843974e6cb.squirrel@webmail.mknln.com> Allen, It is an arbitrary path I made up - definitely not from a distro. Thanks, Mike On Thu, September 22, 2016 1:08 am, Allan Sandfeld Jensen wrote: > On Thursday 22 September 2016, Mike Nolan wrote: > >> Hi all, >> >> >> When I try to load my application via >> >> >> ./WebBrowser >> --ppapi-widevine-path=/usr/lib/ppapi-plugins/libwidevinecdmadapter.so >> >> >> I get an error upon trying to use Widevine >> >> >> [0921/164137:ppapi_thread.cc(331)] Failed to load Pepper module from >> /usr/lib/ppapi-plugins/libwidevinecdmadapter.so: cannot open shared >> object file: Operation not permitted >> > > Interesting, I will try to replicate that. > > > Is /usr/lib/ppapi-plugins a path you made, or is that a new standard for > distro? > > -- > > > The Qt Company > Rudower Chausse 13, 12489 D-Berlin > > >