1
0
Fork 0
forked from 0x2620/oxjs

fix switching resolution

This commit is contained in:
j 2014-02-13 06:47:10 +00:00
commit d27ce4de70
2 changed files with 12 additions and 7 deletions

View file

@ -1289,6 +1289,10 @@ Ox.VideoPlayer = function(options, self) {
} else {
self.loadedMetadata = true;
setPosition(self.options.position);
if (self.options.paused && self.playOnLoad) {
self.playOnLoad = false;
togglePaused('button');
}
}
that.triggerEvent('durationchange', {
duration: self.options.duration