maxWidth property
The maxWidth
parameter specifies the maximum width of the embedded
player returned in the player.embedHtml
property. You can use this
parameter to specify that instead of the default dimensions, the embed
code should use a width appropriate for your application layout.
unsigned integer
If the maxHeight
parameter is also provided, the player may be narrower
than maxWidth
in order to not violate the maximum height. Acceptable
values are 72
to 8192
, inclusive.
Implementation
final String? maxWidth;