fix switching resolution
This commit is contained in:
parent
e8d4961db6
commit
d27ce4de70
2 changed files with 12 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue