Video/media playback (noob question)
-
I'm trying to get a video to play when a button is clicked.
well I can do that using@
import QtMultimedia 5.0
......
...........
Item {
MediaPlayer {
id: mediaplayer
source: "bear.mp4"
}
VideoOutput {
id: video
source: mediaplayer
width: 1280;
height: 800
}
............
..................
@but it only plays in the background without any controls. How can I get it to play in front of all my images and have controls like close, pause...