menu entry to import annotations
This commit is contained in:
parent
5173bf62fe
commit
5f1e21f7e2
1 changed files with 5 additions and 0 deletions
|
@ -433,6 +433,9 @@ Ox.VideoEditor = function(options, self) {
|
||||||
{id: 'downloadVideo', title: 'Download Video...', disabled: !self.options.enableDownload },
|
{id: 'downloadVideo', title: 'Download Video...', disabled: !self.options.enableDownload },
|
||||||
{id: 'downloadSelection', title: 'Download Selection...', disabled: !self.options.enableDownload},
|
{id: 'downloadSelection', title: 'Download Selection...', disabled: !self.options.enableDownload},
|
||||||
{id: 'embedSelection', title: 'Embed Selection...'},
|
{id: 'embedSelection', title: 'Embed Selection...'},
|
||||||
|
{},
|
||||||
|
{id: 'importAnnotations', title: 'Import Annotations...'},
|
||||||
|
|
||||||
],
|
],
|
||||||
self.options.posterFrameControls ? [
|
self.options.posterFrameControls ? [
|
||||||
{},
|
{},
|
||||||
|
@ -466,6 +469,8 @@ Ox.VideoEditor = function(options, self) {
|
||||||
'in': self.options['in'],
|
'in': self.options['in'],
|
||||||
out: self.options.out,
|
out: self.options.out,
|
||||||
});
|
});
|
||||||
|
} else if (id == 'importAnnotations') {
|
||||||
|
that.triggerEvent('importannotations');
|
||||||
} else if (id == 'gotoPosterFrame') {
|
} else if (id == 'gotoPosterFrame') {
|
||||||
setPosition(self.options.posterFrame);
|
setPosition(self.options.posterFrame);
|
||||||
} else if (id == 'setPosterFrame') {
|
} else if (id == 'setPosterFrame') {
|
||||||
|
|
Loading…
Reference in a new issue