Customize the size of a player

Last updated: July 04, 2022

To customise the size of a player, you just need to change the width and the height of the <iframe> tag.

Here is an example:

<iframe width="560" height="315" src="" frameborder="0" allowfullscreen></iframe>

As you can see, the iframe mentions width="560" and height="315" (in pixels unit).

These two values can be modified whenever you want to change the ratio of the player. We automatically recompute the preview needed for the new defined ratio.

We hope this article is helpful. If you have any further questions regarding this topic, please let us know :)