Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Aspect ratio


Hello,
I would like to ask a question.I visited a web site and there is an embbeded video there.But when i click on the video is in 16:9 ratio.I am not the owner of the site so is there a way for me to streach the picture to 4:3 as a visitor?
Thanks

1 Community Answers

George

JW Player Support Agent  
0 rated :

Hello James,

Since there are no controls on the player by default to do this you’ll have to run some code in the JS console of your web browser.

It would look like this:
var config = jwplayer().getConfig();
config.stretching=“fill”;
config.aspectratio=“4:3”;
jwplayer().setup(config);

Use the stretching option as defined here:
https://developer.jwplayer.com/jw-player/docs/developer-guide/customization/configuration-reference/

This question has received the maximum number of answers.