PlayerViewConfig

data class PlayerViewConfig(val uiConfig: UiConfig = UiConfig.WebUi(), val hideFirstFrame: Boolean = false, val scalingMode: ScalingMode = ScalingMode.Fit)

Configures the visual presentation and behaviour of the PlayerView.

Constructors

Link copied to clipboard
constructor(uiConfig: UiConfig = UiConfig.WebUi(), hideFirstFrame: Boolean = false, scalingMode: ScalingMode = ScalingMode.Fit)

Properties

Link copied to clipboard
val hideFirstFrame: Boolean = false

Whether the first frame of the main content will not be shown before playback starts. Default is false.

Link copied to clipboard

Specifies how the video content is scaled or stretched within the parent container's bounds. Default is ScalingMode.Fit.

Link copied to clipboard

Configures the visual presentation and behaviour of the Bitmovin Player UI.