diff --git a/src/qml/presenter/Presentation.qml b/src/qml/presenter/Presentation.qml index 4ac7e74..5b8b1f4 100644 --- a/src/qml/presenter/Presentation.qml +++ b/src/qml/presenter/Presentation.qml @@ -171,6 +171,7 @@ FocusScope { } Controls.Switch { + id: loopSwitch text: "Loop" checked: previewSlide.mpvLoop === "inf" ? true : false onToggled: mainPage.loopVideo() @@ -294,8 +295,9 @@ FocusScope { function onVideoBackgroundChanged() { if (SlideObject.videoBackground === "") stopVideo(); - else + else { loadVideo(); + } playVideo(); } function onIsPlayingChanged() {