From 71d82c87f9ae7ec48f153f723ef236b0e65ee445 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Tue, 17 Apr 2012 14:53:21 +0000 Subject: [PATCH] pass playing/position event from video player to timeline panel --- source/Ox.UI/js/Video/Ox.VideoTimelinePlayer.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/Ox.UI/js/Video/Ox.VideoTimelinePlayer.js b/source/Ox.UI/js/Video/Ox.VideoTimelinePlayer.js index 8eb1a378..eb12e3a2 100644 --- a/source/Ox.UI/js/Video/Ox.VideoTimelinePlayer.js +++ b/source/Ox.UI/js/Video/Ox.VideoTimelinePlayer.js @@ -615,6 +615,9 @@ Ox.VideoTimelinePlayer = function(options, self) { } self.$smallTimeline.options({position: self.options.position}); self.$position.html(formatPosition()); + that.triggerEvent(fromVideo ? 'playing' : 'position', { + position: self.options.position + }); } function setSubtitles() {