fixing video no longer playing in Presentation.qml
This commit is contained in:
parent
b48e96a282
commit
a26144496c
1 changed files with 124 additions and 130 deletions
|
@ -92,10 +92,8 @@ FocusScope {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Component {
|
|
||||||
id: presenterView
|
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
|
id: presenterView
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
Item {
|
Item {
|
||||||
id: slideArea
|
id: slideArea
|
||||||
|
@ -228,7 +226,6 @@ FocusScope {
|
||||||
}}
|
}}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
Component {
|
Component {
|
||||||
id: gridView
|
id: gridView
|
||||||
|
@ -285,16 +282,13 @@ FocusScope {
|
||||||
stopVideo();
|
stopVideo();
|
||||||
else
|
else
|
||||||
loadVideo();
|
loadVideo();
|
||||||
|
playVideo();
|
||||||
}
|
}
|
||||||
function onIsPlayingChanged() {
|
function onIsPlayingChanged() {
|
||||||
if(SlideObject.isPlaying)
|
if(SlideObject.isPlaying)
|
||||||
previewSlide.playVideo();
|
previewSlide.playVideo();
|
||||||
pauseVideo();
|
pauseVideo();
|
||||||
}
|
}
|
||||||
/* function onAudioChanged() { */
|
|
||||||
/* showPassiveNotification("Audio should change"); */
|
|
||||||
/* previewSlide.playAudio(); */
|
|
||||||
/* } */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Timer {
|
Timer {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue