From 31fa5f538650f7713939ab91e1e3da870f28a4b0 Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 21 Feb 2013 13:11:20 +0530 Subject: [PATCH] Video Player: trigger timeline event --- source/Ox.UI/js/Video/VideoPlayer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Ox.UI/js/Video/VideoPlayer.js b/source/Ox.UI/js/Video/VideoPlayer.js index 83a8f7ae..27e83fe5 100644 --- a/source/Ox.UI/js/Video/VideoPlayer.js +++ b/source/Ox.UI/js/Video/VideoPlayer.js @@ -1905,7 +1905,7 @@ Ox.VideoPlayer = function(options, self) { ].id; if (type != self.options.timelineType) { self.options.timelineType = type; - // setTimelineType() + setTimelineType(); } } self.$settings.children('.OxItem').each(function() { @@ -2191,7 +2191,7 @@ Ox.VideoPlayer = function(options, self) { } function setTimelineType() { - that.triggerEvent('timeline', {type: self.options.timelineType}); + that.triggerEvent('timeline', {timeline: self.options.timelineType}); } function setVolume(volume) {