
JW player iframe sizing
Hi,
I have been looking at creating an iframe embed code for our JW player, and I wanted to know the best way to resize the video to fit the frame that it is in. The idea of this being I have one iframe embed code, and I just change the iframe size to create players of different sizes.
Currently we have create separate pages for each player size, but I'm sure there must be a way to get the player to fit the browser window/iframe size automatically.
I have tried setting the width and height flashvars to 100%, but that in FF the page loads blank and in IE the player height fixed and only takes up about a fifth of the page instead of filling.
What is the best way of doing this?
The player doesn't need to resize dynamically with window resize, just fit the page/frame it is in when it loads.
Thanks in advance,
James