Video Player: trigger timeline event
This commit is contained in:
parent
d98cf99714
commit
31fa5f5386
1 changed files with 2 additions and 2 deletions
|
@ -1905,7 +1905,7 @@ Ox.VideoPlayer = function(options, self) {
|
||||||
].id;
|
].id;
|
||||||
if (type != self.options.timelineType) {
|
if (type != self.options.timelineType) {
|
||||||
self.options.timelineType = type;
|
self.options.timelineType = type;
|
||||||
// setTimelineType()
|
setTimelineType();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
self.$settings.children('.OxItem').each(function() {
|
self.$settings.children('.OxItem').each(function() {
|
||||||
|
@ -2191,7 +2191,7 @@ Ox.VideoPlayer = function(options, self) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function setTimelineType() {
|
function setTimelineType() {
|
||||||
that.triggerEvent('timeline', {type: self.options.timelineType});
|
that.triggerEvent('timeline', {timeline: self.options.timelineType});
|
||||||
}
|
}
|
||||||
|
|
||||||
function setVolume(volume) {
|
function setVolume(volume) {
|
||||||
|
|
Loading…
Reference in a new issue