Comment 3 for bug 1457972

Revision history for this message
Jim Hodapp (jhodapp) wrote :

Updated test QML that confirmed the bug:

import QtQuick 2.0
import QtQuick.Window 2.0
import QtMultimedia 5.0
import Ubuntu.Unity.Action 1.1 as UnityActions
import Ubuntu.Components 1.1
import Ubuntu.Components.Popups 1.0 as Popups

Text {
    text: "Should NOT auto-play media";
    font.pointSize: 20;
    width: 150; height: 50;

    MediaPlayer {
        id: playVideo
        autoPlay: false
        source: "/home/phablet/Videos/testfile.mp4"
    }
    VideoOutput { source: playVideo }
    MouseArea {
        id: playArea
        anchors.fill: parent
        onPressed: { playVideo.play() }
    }
}