add enableImport flag to VideoEditor

This commit is contained in:
j 2012-02-17 14:36:26 +05:30
parent 7d4fd8f706
commit 1a6da64b6b

View file

@ -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 ? [
{},