diff --git a/src/qml/presenter/SlideEditor.qml b/src/qml/presenter/SlideEditor.qml index f475f06..33285f7 100644 --- a/src/qml/presenter/SlideEditor.qml +++ b/src/qml/presenter/SlideEditor.qml @@ -63,6 +63,8 @@ Item { spacing: Kirigami.Units.gridUnit synchronousDrag: true delegate: Loader { + property var mpvDuration: representation.mpvDuration + property var mpvPosition: representation.mpvPosition width: slideList.width height: width * 9 / 16 Presenter.Slide { @@ -80,6 +82,9 @@ Item { implicitHeight: width * 9 / 16 itemType: "song" } + function playPauseVideo() { + representation.playPauseVideo(); + } } Kirigami.WheelHandler {