Video Annotation Panel: Add 'Link to Selection' option
This commit is contained in:
parent
f03393f1c7
commit
36e4919138
1 changed files with 6 additions and 0 deletions
|
@ -589,6 +589,7 @@ Ox.VideoAnnotationPanel = function(options, self) {
|
|||
{id: 'downloadVideo', title: Ox._('Download Video...'), disabled: !self.options.enableDownload },
|
||||
{id: 'downloadSelection', title: Ox._('Download Selection...'), disabled: !self.options.enableDownload},
|
||||
{id: 'embedSelection', title: Ox._('Embed Selection...')},
|
||||
{id: 'linkToSelection', title: Ox._('Link to Selection...')},
|
||||
{},
|
||||
{id: 'importAnnotations', title: Ox._('Import Annotations...'), disabled: !self.options.enableImport},
|
||||
{id: 'exportAnnotations', title: Ox._('Export Annotations...'), disabled: !self.options.enableExport},
|
||||
|
@ -627,6 +628,11 @@ Ox.VideoAnnotationPanel = function(options, self) {
|
|||
'in': self.options['in'],
|
||||
out: self.options.out
|
||||
});
|
||||
} else if (id == 'linkToSelection') {
|
||||
that.triggerEvent('linktoselection', {
|
||||
'in': self.options['in'],
|
||||
out: self.options.out
|
||||
});
|
||||
} else if (id == 'importAnnotations') {
|
||||
that.triggerEvent('importannotations');
|
||||
} else if (id == 'exportAnnotations') {
|
||||
|
|
Loading…
Reference in a new issue