We built a broadcast player that pops-up with the window.open script:
onclick=”window.open(‘Media-player.html’,’player’,’scrollbars=0,width=360,height=655′)”
The problem is, when someone zooms into the the player (or the parent frame for that matter) the pop-up window does not resize with it and the player overlaps within the window and some parts become hidden.
Is there any way to resize the window to fit it’s contents when users zoom in? Would like to avoid enabling the scroll bars or just making the dimensions bigger. Thanks.
There is no way to know if a user has zoomed the browser, but there are some tricks to try to detect it.
See this thread: Catch browser's "zoom" event in JavaScript