QtWebEngine YouTube live stream shows only spinner.(with using Flashplayer)
Unsolved
QtWebEngine
-
wrote on 20 Aug 2017, 08:12 last edited by RainbowEK
Re: How to stream live content from YouTube using QWebEngineView
Hi out there. I have been using the advice as mentioned in the link above, as I also did hit the HTML5 problem when wanting to play a YouTube live stream. It is also not working in the Qt Demo Browser example. So do not know how to resolve.
Problem:
I do not get a YouTube live stream in the window. It does continue to spin (hourglass), as if it is loading. When I slide the YouTube progress bar back I do see the historical snapshots passing by.Question:
Who know the solution for this problem?Set-up:
- Windows 10, 64bit
- QT version: C:\Qt\5.9.1\msvc2017_64
- Installed Flashplayer: https://get.adobe.com/flashplayer/
- C++ coding, snippets:
webview = new QWebEngineView;
webpage = new QWebEnginePage;
webpage->settings()->setAttribute(QWebEngineSettings::PluginsEnabled, true);
.....
webpage->load(QUrl(https://www.youtube.com/embed/live_stream?channel=UCrYJITU7pDh73ovCUQ_sUPg));
webview->setPage(webpage);
Screenshot of Problem YouTube Live Stream with endless Spinner:
1/1