diff --git a/src/qml/presenter/Presentation.qml b/src/qml/presenter/Presentation.qml index 87837f3..440e7e1 100644 --- a/src/qml/presenter/Presentation.qml +++ b/src/qml/presenter/Presentation.qml @@ -325,6 +325,10 @@ FocusScope { } playVideo(); } + function onLoopingChanged() { + if(SlideObject.looping) + previewSlide.loopVideo(); + } function onIsPlayingChanged() { if(SlideObject.isPlaying) previewSlide.playVideo(); diff --git a/src/qml/presenter/PresentationWindow.qml b/src/qml/presenter/PresentationWindow.qml index 601e371..a07afbd 100644 --- a/src/qml/presenter/PresentationWindow.qml +++ b/src/qml/presenter/PresentationWindow.qml @@ -79,6 +79,10 @@ Item { presentationSlide.playVideo(); pauseVideo(); } + function onLoopingChanged() { + if(SlideObj.looping) + presentationSlide.loopVideo(); + } function onAudioChanged() { if (presentationWindow.visible) presentationSlide.playAudio();