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

QtWebKit HTML5 audio support is broken with MSVC compiled versions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 5.0.0, 5.0.1, 5.0.2, 5.1.0 , 5.1.1, 5.2.0, 5.2.1, 5.3.0, 5.3.1, 5.3.2
    • WebKit
    • None
    • Every Qt versions from 5.0, Visual Express 2010, Visual Studio 2013 Desktop, on Windows 8 and Windows 7 64 bits.

    Description

      Hello,

      Audio support seems broken on every version of Qt with QtWebKit compiled for MSVC2010/2013 (at least from Qt5.0). I downloaded and tested (I really mean TESTED) all the versions from : http://download.qt-project.org/archive/qt/.

      I tested it with two different ways :

      • Open QtDesigner, add a WebView to a widget, enters an URL (local or not) where's there's an <audio> tag and test if it plays. It doesn't.
      • Create a Visual Studio project with the attached code. It doesn't play.

      I tested BOTH tests on EVERY QT VERSIONS from 5.0.

      It doesn't work either on Youtube (playing an HTML5 video) nor on local files (sources provided). On .mp3 files for example, it shows the total length/time of the file but don't play it. On unsupported format it shows 00:00/00:00.

      It works without problems on every MinGW versions.

      It only affects the versions compiled for MSVC.

      Let me know if you need anything else but please this is a serious issue.

      Regards,

      Romain.

      EDIT :

      Visiting html5test.com with Qt5.1.1 for MSVC2010 results in 0/35 on video (<video> tag not supported) and 0/30 on audio (<audio> tag not supported) while it is on Qt5.0.2... How is this even possible?

      Attachments

        1. 01 Smash That 1.mp3
          7.94 MB
        2. audio.html
          0.1 kB
        3. main.cpp
          0.8 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            annulen Konstantin Tokarev
            snapeuh Romain Etchegoyhen
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes