1
0
Fork 0
forked from 0x2620/oxjs

hook up transcribe option

This commit is contained in:
j 2025-01-24 19:59:56 +05:30
commit 4cde39b182
2 changed files with 8 additions and 3 deletions

View file

@ -67,6 +67,7 @@ Ox.VideoAnnotationPanel = function(options, self) {
enableDownload: false,
enableImport: false,
enableExport: false,
enableTranscribe: false,
enableSetPosterFrame: false,
enableSubtitles: false,
find: '',
@ -849,6 +850,7 @@ Ox.VideoAnnotationPanel = function(options, self) {
editable: true,
enableExport: self.options.enableExport,
enableImport: self.options.enableImport,
enableTranscribe: self.options.enableTranscribe,
highlight: self.options.find,
highlightAnnotations: self.options.annotationsHighlight,
highlightLayer: self.options.findLayer,
@ -951,6 +953,9 @@ Ox.VideoAnnotationPanel = function(options, self) {
that.triggerEvent('showentityinfo', data);
},
submit: submitAnnotation,
transcribeaudio: function() {
that.triggerEvent('transcribeaudio');
},
toggle: toggleAnnotations,
togglecalendar: function(data) {
self.options.showAnnotationsCalendar = !data.collapsed;