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() } } }
I tried an example like this to reproduce it with no luck:
import QtQuick 2.0 Components. Popups 1.0 as Popups
import QtQuick.Window 2.0
import QtMultimedia 5.0
import Ubuntu.Unity.Action 1.1 as UnityActions
import Ubuntu.Components 1.1
import Ubuntu.
import QtQuick 2.0
import QtMultimedia 5.0
Text {
text: "Should NOT auto-play media";
font.pointSize: 48;
width: 150; height: 50;
MediaPlayer { phablet/ Music/testfile. ogg"
anchors. fill: parent
id: playMusic
autoPlay: false
source: "/home/
}
MouseArea {
id: playArea
onPressed: { playMusic.play() }
}
}