fixing looping not working after switching to Rust
This commit is contained in:
parent
d02a13ee73
commit
d8d1071c77
2 changed files with 8 additions and 0 deletions
|
@ -325,6 +325,10 @@ FocusScope {
|
||||||
}
|
}
|
||||||
playVideo();
|
playVideo();
|
||||||
}
|
}
|
||||||
|
function onLoopingChanged() {
|
||||||
|
if(SlideObject.looping)
|
||||||
|
previewSlide.loopVideo();
|
||||||
|
}
|
||||||
function onIsPlayingChanged() {
|
function onIsPlayingChanged() {
|
||||||
if(SlideObject.isPlaying)
|
if(SlideObject.isPlaying)
|
||||||
previewSlide.playVideo();
|
previewSlide.playVideo();
|
||||||
|
|
|
@ -79,6 +79,10 @@ Item {
|
||||||
presentationSlide.playVideo();
|
presentationSlide.playVideo();
|
||||||
pauseVideo();
|
pauseVideo();
|
||||||
}
|
}
|
||||||
|
function onLoopingChanged() {
|
||||||
|
if(SlideObj.looping)
|
||||||
|
presentationSlide.loopVideo();
|
||||||
|
}
|
||||||
function onAudioChanged() {
|
function onAudioChanged() {
|
||||||
if (presentationWindow.visible)
|
if (presentationWindow.visible)
|
||||||
presentationSlide.playAudio();
|
presentationSlide.playAudio();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue