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

QtWebEngine cannot play video or audio served via custom url handler

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.8.0 RC
    • 5.6.0, 5.7.0
    • WebEngine
    • None
    • ArchLinux with custom build 5.6 from latest git, and 5.7 from distro

    Description

      The attached sample project reproduces the following issue:

      A HTML page tries to display a video served by a custom QWebEngineUrlSchemeHandler implementation. The video cannot be displayed correctly. While we see the request coming and, and can verify that the correct mp4 file is served with the video/mp4 mimetype, the developer console only shows us a canceled network request for that file. It is not clear who or what is canceling the request. Note that this approach works fine to serve static images, but fails equally when serving e.g. a mp3 file for audio. Accessing the multimedia contents via a file:// URL works though, so this clearly has something to do with the custom url scheme handler.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-57139
          # Subject Branch Project Status CR V

          Activity

            People

              allan.jensen Allan Sandfeld Jensen
              milianw Milian Wolff
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes