- FIT (default): Scales the player so that all content fits inside its bounding box, keeping the original aspect ratio of the content.
- FILL: Scales the player so that all content fits inside the bounding box, which will be stretched to fill it entirely.
- ASPECT_FILL: Scales the player so that the content fills up the entire bounding box, keeping the original aspect ratio of the content.
Specifies an aspect ratio for the player.
-
FIT
(default): Scales the player so that all content fits inside its bounding box, keeping the original aspect ratio of the content.-
FILL
: Scales the player so that all content fits inside the bounding box, which will be stretched to fill it entirely.-
ASPECT_FILL
: Scales the player so that the content fills up the entire bounding box, keeping the original aspect ratio of the content.Default Value
'FIT'