fix player size leaving fullscreen

This commit is contained in:
j 2013-11-04 15:44:27 +00:00
parent 44b7e5796f
commit aa178fc551

View file

@ -248,8 +248,8 @@ Ox.VideoPlayer = function(options, self) {
Ox.Fullscreen.bind('change', function() {
//FIXME: is change fired before window size is updated to fullscreen?
self.options.fullscreen && setTimeout(function() {
setSizes(true);
setTimeout(function() {
setSizes(self.options.fullscreen);
}, 250);
});