add enableImport flag to VideoEditor
This commit is contained in:
parent
7d4fd8f706
commit
1a6da64b6b
1 changed files with 5 additions and 3 deletions
|
@ -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 ? [
|
||||
{},
|
||||
|
|
Loading…
Reference in a new issue