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

size of video


After embedding a video is there a way to change the size?

1 Community Answers

Todd

JW Player Support Agent  
0 rated :

Yes, you can set the height and width of the player:

jwplayer('example').setup({
file: 'your_video_URL',
height: '360',
width: '640'
})

If you are using a cloud-hosted player, you can change the size of the player in the dashboard. You can also use a Javascript API call to resize the player after the player has been set up:

<script>
jwplayer().resize('640','360');
</script>

Please see https://developer.jwplayer.com/jw-player/docs/developer-guide/api/javascript_api_reference/ for more details regarding our Javascript API and https://developer.jwplayer.com/jw-player/docs/developer-guide/customization/configuration-reference/ for the Configuration Options of the player.

This question has received the maximum number of answers.