Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. QtWebEngine YouTube live stream shows only spinner.(with using Flashplayer)
Forum Update on Monday, May 27th 2025

QtWebEngine YouTube live stream shows only spinner.(with using Flashplayer)

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 821 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RainbowEK
    wrote on 20 Aug 2017, 08:12 last edited by RainbowEK
    #1

    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:
    0_1503216582912_Screen Shot 08-20-17 at 10.05 AM.PNG

    Screenshot of playing a YouTube video without any problem:
    0_1503231361609_Screen Shot 08-20-17 at 02.14 PM.PNG

    1 Reply Last reply
    0

    1/1

    20 Aug 2017, 08:12

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved