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. 01.png
          01.png
          364 kB
        2. 02.png
          02.png
          140 kB
        3. 03.png
          03.png
          31 kB
        4. CMakeLists.txt
          1 kB
        5. main.cpp
          0.5 kB
        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