+
@@ -14,6 +14,12 @@ export default {
isActive: false
};
},
+ methods: {
+ clickSeek() {
+ const time = this.cue.startTime;
+ this.$emit('seek', time);
+ }
+ },
created() {
this.cue.onenter = () => (this.isActive = true);
this.cue.onexit = () => (this.isActive = false);
diff --git a/client/components/player/TranscriptionUi.vue b/client/components/player/TranscriptionUi.vue
index 73d807f2b..11f013b3c 100644
--- a/client/components/player/TranscriptionUi.vue
+++ b/client/components/player/TranscriptionUi.vue
@@ -5,6 +5,7 @@
:key="index"
:cue="cue"
ref="transcriptionLine + index"
+ @seek="seek"
>