ScalingMode

Specifies how the video content is scaled or stretched.

Entries

Link copied to clipboard

Specifies that the player should preserve the video’s aspect ratio and fit the video within the container's bounds.

Link copied to clipboard

Specifies that the video should be stretched to fill the container’s bounds. The aspect ratio may not be preserved.

Link copied to clipboard

Specifies that the player should preserve the video’s aspect ratio and fill the container’s bounds.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.