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 {
|
||||
id: presenterView
|
||||
anchors.fill: parent
|
||||
Item {
|
||||
id: slideArea
|
||||
|
@ -228,7 +226,6 @@ FocusScope {
|
|||
}}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Component {
|
||||
id: gridView
|
||||
|
@ -285,16 +282,13 @@ FocusScope {
|
|||
stopVideo();
|
||||
else
|
||||
loadVideo();
|
||||
playVideo();
|
||||
}
|
||||
function onIsPlayingChanged() {
|
||||
if(SlideObject.isPlaying)
|
||||
previewSlide.playVideo();
|
||||
pauseVideo();
|
||||
}
|
||||
/* function onAudioChanged() { */
|
||||
/* showPassiveNotification("Audio should change"); */
|
||||
/* previewSlide.playAudio(); */
|
||||
/* } */
|
||||
}
|
||||
|
||||
Timer {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue