fixed loading of extra mpv window

This commit is contained in:
Chris Cochrun 2022-09-19 16:36:18 -05:00
parent 38c5e6d1d4
commit 8b9bcd5a89
2 changed files with 3 additions and 1 deletions

View file

@ -131,7 +131,9 @@ Controls.Page {
SlideObject.changeSlide(item);
if (item.backgroundType === "video")
{
presentation.loadVideo();
}
presentation.textIndex = 0;
presentation.changeSlide();

View file

@ -34,7 +34,7 @@ Window {
id: presentationSlide
anchors.fill: parent
imageSource: SlideObject.imageBackground
videoSource: SlideObject.videoBackground
videoSource: presentationWindow.visible ? SlideObject.videoBackground : null
text: SlideObject.text
}