The custom parameter p2g_rte__player_size allows you to overrule the default iframe size (700x420) when inserting a single video as embedded content  via the rich media text editor.

Since the iframe size is stored in the text page, this parameter only effects new pages.

Example


p2g_rte_player_size=200x200

Syntax


p2g_rte_size=wxh

Allowed values

You can only set width and height in pixels so


700x420

770x382

etc.


Default

if you do not use this custom parameter the default behavior will be


p2g_rte_player_size=700x420




The player is positioned inside the iframe and is set via css


.player {

  width: 97vw;

  height: 54.5vw;

  padding: 0px;

}


which can also be overruled via customlti.css