diff --git a/source/Ox.UI/js/Video/Ox.VideoEditor.js b/source/Ox.UI/js/Video/Ox.VideoEditor.js index 6032ccb0..027a03cb 100644 --- a/source/Ox.UI/js/Video/Ox.VideoEditor.js +++ b/source/Ox.UI/js/Video/Ox.VideoEditor.js @@ -29,6 +29,7 @@ Ox.VideoEditor = function(options, self) { cuts: [], duration: 0, enableDownload: false, + enableImport: false, enableSubtitles: false, find: '', fps: 25, @@ -429,9 +430,10 @@ Ox.VideoEditor = function(options, self) { {id: 'downloadVideo', title: 'Download Video...', disabled: !self.options.enableDownload }, {id: 'downloadSelection', title: 'Download Selection...', disabled: !self.options.enableDownload}, {id: 'embedSelection', title: 'Embed Selection...'}, - {}, - {id: 'importAnnotations', title: 'Import Annotations...'}, - + self.options.enableImport ? [ + {}, + {id: 'importAnnotations', title: 'Import Annotations...'}, + ] : [], ], self.options.posterFrameControls ? [ {},