Qt 6.11 is out! See what's new in the release
blog
Media PLayer Shared Volumen ?
QML and Qt Quick
2
Posts
1
Posters
1.1k
Views
1
Watching
-
Good day.
I have a big problem.
In my qml file, I have 2 MediaPlayers. One in video, and other in audio.
@ MediaPlayer {
id: video
source: "video.mp4"
autoPlay: false
volume: 0.1
}
VideoOutput {
id: videoOutput
fillMode: VideoOutput.Stretch
source: video
}MediaPlayer { id: audio source: "audio.mp3" autoPlay: false volume: 1.0 }@I play the video and the audio. All fine until here.
When the video is finish, and I play the audio again, this play with volume of 0.1, the same of the video.Please help me.