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

QtWebEngine cannot play video or audio served via custom url handler

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.6.0, 5.7.0
    • Fix Version/s: 5.8.0 RC
    • Component/s: WebEngine
    • Labels:
      None
    • Environment:
      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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              allan.jensen Allan Sandfeld Jensen
              Reporter:
              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