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

WMF: Media playback starts automatically after loading

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.2.1
    • 5.2.0 RC1
    • Multimedia
    • None
    • Windows 8
    • cbe9fc8e4db4efcf6a6b5e104af38bdf08f21984

    Description

      The following code starts playing a video right after startup. Without calling play() and without setting "autoPlay" to "true".

      On Linux and Android this does not happen.

      The workaround is to set "autoPlay" explicitly to "false".

      Tested with Qt 5.2 snapshot #134.
      http://download.qt-project.org/snapshots/qt/5.2/5.2.0-beta1/2013-11-06_134/qt-windows-opensource-5.2.0-beta1-msvc2010-x86-offline_2013-11-06_18-13-08-134.exe

      import QtQuick 2.0
      import QtMultimedia 5.0
      
      Rectangle {
        width: 600
        height: 400
        color: "yellow"
      
        Video {
          source: "http://ftp.nluug.nl/ftp/graphics/blender/apricot/trailer/sintel_trailer-480p.mp4"
          anchors.fill: parent
          anchors.margin: 10
        }
      }
      

      Attachments

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

        Activity

          People

            ylopes Yoann Lopes
            conny Cornelius Hald
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes