quikava04 / flowplayer-plugins

Automatically exported from code.google.com/p/flowplayer-plugins
0 stars 0 forks source link

ipad: orientation problem #42

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
ipad owners to the front:

http://flowplayer.org/forum/8/102392#post-102392
"""
I've noticed that once you instantiate the player with the iPad plugin, and you 
rotate the orientation of the device, the video and control skin do not re-size 
appropriately - they maintain their original size.

In this case I am re-sizing the containing div with a media query but the video 
content is getting cut off. Has anyone run into this issue? Thanks.
"""

http://flowplayer.org/forum/8/102392#post-102395
"""
This fixed it for me:

on line 907/908 of "flowplayer.ipad-3.2.10.js" - I changed:

container.style.height = height+'px';
container.style.width = width+'px';

to

container.style.height = '100%';
container.style.width = '100%';
"""

Could someone please look into whether this fix is needed and whether it could 
be a general fix?

(forum is currently down, but I had this thread cached)

Original issue reported on code.google.com by blacktrashproduct on 6 Aug 2012 at 12:17