From a56329064d2e2660f414b0f676300016d5fe65f4 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Sun, 22 Apr 2012 11:13:06 +0000 Subject: [PATCH] pass info event in player and timeline panels --- source/Ox.UI/js/Video/Ox.VideoPanel.js | 3 +++ source/Ox.UI/js/Video/Ox.VideoTimelinePanel.js | 3 +++ 2 files changed, 6 insertions(+) diff --git a/source/Ox.UI/js/Video/Ox.VideoPanel.js b/source/Ox.UI/js/Video/Ox.VideoPanel.js index 1143e0ca..e559593b 100644 --- a/source/Ox.UI/js/Video/Ox.VideoPanel.js +++ b/source/Ox.UI/js/Video/Ox.VideoPanel.js @@ -233,6 +233,9 @@ Ox.VideoPanel = function(options, self) { self.options.annotationsSort = data.sort; that.triggerEvent('annotationssort', data); }, + info: function(data) { + that.triggerEvent('info', data); + }, open: function() { setPosition(self.options['in']); }, diff --git a/source/Ox.UI/js/Video/Ox.VideoTimelinePanel.js b/source/Ox.UI/js/Video/Ox.VideoTimelinePanel.js index 5d2bfe1f..8b422136 100644 --- a/source/Ox.UI/js/Video/Ox.VideoTimelinePanel.js +++ b/source/Ox.UI/js/Video/Ox.VideoTimelinePanel.js @@ -149,6 +149,9 @@ Ox.VideoTimelinePanel = function(options, self) { self.options.annotationsSort = data.sort; that.triggerEvent('annotationssort', data); }, + info: function(data) { + that.triggerEvent('info', data); + }, open: function() { setPosition(self.options['in']); },