I tried an example like this to reproduce it with no luck:

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

import QtQuick 2.0
import QtMultimedia 5.0

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

    MediaPlayer {
        id: playMusic
        autoPlay: false
        source: "/home/phablet/Music/testfile.ogg"
    }
    MouseArea {
        id: playArea
        anchors.fill: parent
        onPressed:  { playMusic.play() }
    }
}

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1457972

Title:
  VideoOutput plays as soon as loaded even if the MediaPlayer is not set
  to autoPlay

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtubuntu-media/+bug/1457972/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to