STSVideoScalingMode
enum STSVideoScalingMode {}
Constants specify how the video is displayed within a STSSDKPLayerView.
-
Specifies that the player should preserve the video’s aspect ratio and fit the video within the STSSDKPLayerView’s bounds.
Declaration
Objective-C
STSVideoScalingModeAspectFit
-
Specifies that the player should preserve the video’s aspect ratio and fill the STSSDKPLayerView’s bounds.
Declaration
Objective-C
STSVideoScalingModeAspectFill
-
Specifies that the video should be stretched to fill the STSSDKPLayerView’s bounds.
Declaration
Objective-C
STSVideoScalingModeFill