fix player size leaving fullscreen
This commit is contained in:
parent
44b7e5796f
commit
aa178fc551
1 changed files with 2 additions and 2 deletions
|
@ -248,8 +248,8 @@ Ox.VideoPlayer = function(options, self) {
|
||||||
|
|
||||||
Ox.Fullscreen.bind('change', function() {
|
Ox.Fullscreen.bind('change', function() {
|
||||||
//FIXME: is change fired before window size is updated to fullscreen?
|
//FIXME: is change fired before window size is updated to fullscreen?
|
||||||
self.options.fullscreen && setTimeout(function() {
|
setTimeout(function() {
|
||||||
setSizes(true);
|
setSizes(self.options.fullscreen);
|
||||||
}, 250);
|
}, 250);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue