pass playing/position event from video player to timeline panel

This commit is contained in:
rlx 2012-04-17 14:53:21 +00:00
parent 7d3ea51e4b
commit 71d82c87f9

View file

@ -615,6 +615,9 @@ Ox.VideoTimelinePlayer = function(options, self) {
} }
self.$smallTimeline.options({position: self.options.position}); self.$smallTimeline.options({position: self.options.position});
self.$position.html(formatPosition()); self.$position.html(formatPosition());
that.triggerEvent(fromVideo ? 'playing' : 'position', {
position: self.options.position
});
} }
function setSubtitles() { function setSubtitles() {