
size of video
After embedding a video is there a way to change the size?
After embedding a video is there a way to change the size?
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.