Style Config
data class StyleConfig(isUiEnabled: Boolean, playerUiCss: String, supplementalPlayerUiCss: String?, playerUiJs: String, isHideFirstFrame: Boolean, scalingMode: ScalingMode) : Parcelable
Content copied to clipboard
Configures visual presentation and behaviour of the Player UI.
Constructors
Link copied to clipboard
fun StyleConfig(isUiEnabled: Boolean = true, playerUiCss: String = "file:///android_asset/bitmovinplayer-ui.css", supplementalPlayerUiCss: String? = null, playerUiJs: String = "file:///android_asset/bitmovinplayer-ui.js", isHideFirstFrame: Boolean = false, scalingMode: ScalingMode = ScalingMode.Fit)
Content copied to clipboard
Properties
Link copied to clipboard
@SerializedName(value = "hideFirstFrame" )
Content copied to clipboard
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
@SerializedName(value = "supplemental_css" )
Content copied to clipboard
The URI pointing to the supplemental CSS file that will be used for the Player UI. The contained styles will be added to the CSS file specified in playerUiCss. Default is null
.