Video Player: trigger timeline event

This commit is contained in:
rolux 2013-02-21 13:11:20 +05:30
parent d98cf99714
commit 31fa5f5386

View file

@ -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) {