Maybe I'm just dense, but is there a way to override the width and height of the player when it's embedded? Or does it always use the width and height of the particular player your using?
This doesn't work:
<script type="text/javascript" src="http://content.bitsontherun.com/players/G7w7bNdW-URVm6Fou.js"></script>
<script type="text/javascript">
botr_G7w7bNdW_URVm6Fou.addVariable("width", 480);
botr_G7w7bNdW_URVm6Fou.addVariable("height", 270);
</script>Neither does this:
<script type="text/javascript" src="http://content.bitsontherun.com/players/G7w7bNdW-URVm6Fou.js"></script>
<script type="text/javascript">
jwplayer().width = 480;
jwplayer().height = 270;
</script>Thanks!
It is not possible to set dimensions using the addVariable calls.
The player can be resized using the resize function: http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12540/javascript-api-reference...