downloadframe event
This commit is contained in:
parent
6618809eb5
commit
63501ebe96
1 changed files with 6 additions and 0 deletions
|
@ -13,6 +13,7 @@ Ox.VideoAnnotationPanel <f> VideoAnnotationPanel Object
|
||||||
censored <!> censored
|
censored <!> censored
|
||||||
define <!> define
|
define <!> define
|
||||||
downloadselection <!> downloadselection
|
downloadselection <!> downloadselection
|
||||||
|
downloadframe <!> downloadframe
|
||||||
downloadvideo <!> downloadvideo
|
downloadvideo <!> downloadvideo
|
||||||
editannotation <!> editannotation
|
editannotation <!> editannotation
|
||||||
editannotation <!> editannotation
|
editannotation <!> editannotation
|
||||||
|
@ -670,6 +671,7 @@ Ox.VideoAnnotationPanel = function(options, self) {
|
||||||
{id: 'setPosterFrame', title: Ox._('Set Poster Frame'), disabled: !self.options.enableSetPosterFrame},
|
{id: 'setPosterFrame', title: Ox._('Set Poster Frame'), disabled: !self.options.enableSetPosterFrame},
|
||||||
{},
|
{},
|
||||||
{id: 'downloadVideo', title: Ox._('Download Video...'), disabled: !self.options.enableDownload },
|
{id: 'downloadVideo', title: Ox._('Download Video...'), disabled: !self.options.enableDownload },
|
||||||
|
{id: 'downloadFrame', title: Ox._('Download Frame...'), disabled: !self.options.enableDownload },
|
||||||
{id: 'downloadSelection', title: Ox._('Download Selection...'), disabled: !self.options.enableDownload},
|
{id: 'downloadSelection', title: Ox._('Download Selection...'), disabled: !self.options.enableDownload},
|
||||||
{id: 'embedSelection', title: Ox._('Embed Selection...')},
|
{id: 'embedSelection', title: Ox._('Embed Selection...')},
|
||||||
{id: 'linkToSelection', title: Ox._('Link to Selection...')},
|
{id: 'linkToSelection', title: Ox._('Link to Selection...')},
|
||||||
|
@ -698,6 +700,10 @@ Ox.VideoAnnotationPanel = function(options, self) {
|
||||||
});
|
});
|
||||||
} else if (id == 'downloadVideo') {
|
} else if (id == 'downloadVideo') {
|
||||||
that.triggerEvent('downloadvideo');
|
that.triggerEvent('downloadvideo');
|
||||||
|
} else if (id == 'downloadFrame') {
|
||||||
|
that.triggerEvent('downloadframe', {
|
||||||
|
'position': self.options.position
|
||||||
|
});
|
||||||
} else if (id == 'downloadSelection') {
|
} else if (id == 'downloadSelection') {
|
||||||
that.triggerEvent('downloadselection', {
|
that.triggerEvent('downloadselection', {
|
||||||
'in': self.options['in'],
|
'in': self.options['in'],
|
||||||
|
|
Loading…
Reference in a new issue