Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-123824

QML WebEngineView doesn't play YouTube video if the video hasn't 480p quality

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 6.4.3
    • WebEngine
    • None
    • Windows

    Description

      QML WebEngineView doesn't play YouTube video if the video hasn't 480p quality

      Program for test (Main.qml):

      import QtQuick
      import QtQuick.Controls
      import QtQuick.Window
      import QtWebEngine

      Window {
          width: 640
          height: 480
          visible: true
          title: qsTr("Hello World")

          WebEngineView {
              id: webView
              anchors.fill: parent
              url: "https://www.youtube.com/watch?v=cabBXCq7_P8" //"https://www.youtube.com/embed/cabBXCq7_P8"
          }
      }

      Trying to play the video results in an error: You browser can't play this video

      Attachments

        1. CMakeLists.txt
          1 kB
          bdfyy bdfyy
        2. main.cpp
          0.5 kB
          bdfyy bdfyy
        3. 01.png
          364 kB
          bdfyy bdfyy
        4. 02.png
          140 kB
          bdfyy bdfyy
        5. 03.png
          31 kB
          bdfyy bdfyy
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            bdfyy bdfyy bdfyy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes