From aa178fc551d7ccd02b7ef2742cd11e8cb5d40a4c Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 4 Nov 2013 15:44:27 +0000 Subject: [PATCH] fix player size leaving fullscreen --- source/Ox.UI/js/Video/VideoPlayer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Ox.UI/js/Video/VideoPlayer.js b/source/Ox.UI/js/Video/VideoPlayer.js index 9deca079..2b16664e 100644 --- a/source/Ox.UI/js/Video/VideoPlayer.js +++ b/source/Ox.UI/js/Video/VideoPlayer.js @@ -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); });