🐛 need to get video start and end times working
This is waiting till service_item_model.rs is the model actually used for ServiceList. Right now we are still using C++ so once that switches, we can add it in service_item_model. This way we don't add anymore C++ code that we are likely to throw away.
This commit is contained in:
parent
485a7ac223
commit
ea74fda363
4 changed files with 13 additions and 0 deletions
|
@ -24,6 +24,8 @@ Item {
|
|||
property url videoSource
|
||||
property url audioSource
|
||||
property bool vidLoop
|
||||
property real vidStartTime
|
||||
property real vidEndTime
|
||||
property int pdfIndex
|
||||
property string chosenFont: "Quicksand"
|
||||
property string text
|
||||
|
@ -85,6 +87,7 @@ Item {
|
|||
onTriggered: {
|
||||
/* showPassiveNotification("YIPPEEE!") */
|
||||
mpv.loadFile(videoSource.toString());
|
||||
mpv.seek(vidStartTime)
|
||||
if (editMode) {
|
||||
console.log("WHY AREN'T YOU PASUING!");
|
||||
pauseTimer.restart();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue