Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.2.0 RC1
-
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 } }