tags:

views:

247

answers:

1

Hello people,

Is there any way we can make the JW Player auto resizable when it loads?

Like, for instance, if the movie file is smaller in dimensions than the player,then there is black background it. I want the movie to spread all over the black color.

Thanks in advance.

+1  A: 

Hi KPL,

There are a couple of stretching options that can be set via flashvar. These include none (no stretching), exactfit (disproportionate), uniform (stretch with black borders) or fill (uniform, but completely fill the display). They're all listed on our flashvars page.

If you're looking to update the size of the player within the DOM, it may be possible, but it's certainly not recommended, as this would cause Flash to reload the player.

Best,

Zach

Developer, LongTail Video

zach at longtail
thanks for answering[late though, but doesnt matters =) ] .. i had already figured out that i mixed flashvars and something similar which caused it to not work ... later discovered the issue and everything's now working again! :)
KPL