Exit media player
-
I'm using this for the media player
@
MediaPlayer {
id: mediaplayer
source: "bear.mp4"
}
VideoOutput {
id: video
source: mediaplayer
width: 1280;
height: 800
}}
@
and to start the media I'm using
@
mediaplayer.play();
@how can I completely kill the media being played?
I've tried
@
mediaplayer.exit();
mediaplayer.close();
@non of which do anything