MKPScalingMode

enum class MKPScalingMode: Enum<MKPScalingMode>

A value that describes the modification of the width or height of the video to obtain the desired aspect ratio.

EnumItems

Name Description
FIT

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

STRETCH

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

ZOOM

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