diff --git a/source/Ox.UI/js/Video/Ox.VideoEditor.js b/source/Ox.UI/js/Video/Ox.VideoEditor.js index 59733c5a..d61e9bfa 100644 --- a/source/Ox.UI/js/Video/Ox.VideoEditor.js +++ b/source/Ox.UI/js/Video/Ox.VideoEditor.js @@ -32,6 +32,7 @@ Ox.VideoEditor = function(options, self) { duration: 0, enableDownload: false, enableImport: false, + enableSetPosterFrame: false, enableSubtitles: false, find: '', fps: 25, @@ -45,7 +46,6 @@ Ox.VideoEditor = function(options, self) { out: 0, position: 0, posterFrame: 0, - posterFrameControls: false, resolution: 0, selected: '', showAnnotations: false, @@ -482,12 +482,10 @@ Ox.VideoEditor = function(options, self) { {}, {id: 'importAnnotations', title: 'Import Annotations...'} ] : [], - self.options.posterFrameControls ? [ + [ {}, {id: 'gotoPosterFrame', title: 'Go to Poster Frame'}, - {id: 'setPosterFrame', title: 'Set Poster Frame'} - ] : [], - [ + {id: 'setPosterFrame', title: 'Set Poster Frame', disabled: !self.options.enableSetPosterFrame}, {}, {id: 'keyboard', title: 'Keyboard Shortcuts...', keyboard: 'h'} ]