diff --git a/source/UI/js/Video/VideoAnnotationPanel.js b/source/UI/js/Video/VideoAnnotationPanel.js index f9569ec5..4c93c621 100644 --- a/source/UI/js/Video/VideoAnnotationPanel.js +++ b/source/UI/js/Video/VideoAnnotationPanel.js @@ -13,6 +13,7 @@ Ox.VideoAnnotationPanel VideoAnnotationPanel Object censored censored define define downloadselection downloadselection + downloadframe downloadframe downloadvideo downloadvideo 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: '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: 'embedSelection', title: Ox._('Embed Selection...')}, {id: 'linkToSelection', title: Ox._('Link to Selection...')}, @@ -698,6 +700,10 @@ Ox.VideoAnnotationPanel = function(options, self) { }); } else if (id == 'downloadVideo') { that.triggerEvent('downloadvideo'); + } else if (id == 'downloadFrame') { + that.triggerEvent('downloadframe', { + 'position': self.options.position + }); } else if (id == 'downloadSelection') { that.triggerEvent('downloadselection', { 'in': self.options['in'],