WebUi

data class WebUi(val cssLocation: String = "file:///android_asset/bitmovinplayer-ui.css", val supplementalCssLocation: String? = null, val jsLocation: String = "file:///android_asset/bitmovinplayer-ui.js", val playbackSpeedSelectionEnabled: Boolean = true, val forceSubtitlesIntoViewContainer: Boolean = true) : UiConfig

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

Constructors

Link copied to clipboard
constructor(cssLocation: String = "file:///android_asset/bitmovinplayer-ui.css", supplementalCssLocation: String? = null, jsLocation: String = "file:///android_asset/bitmovinplayer-ui.js", playbackSpeedSelectionEnabled: Boolean = true, forceSubtitlesIntoViewContainer: Boolean = true)

Properties

Link copied to clipboard

The URI pointing to the CSS file that will be used for the Bitmovin Web UI. Default value is "file:///android_asset/bitmovinplayer-ui.css", using the local default UI style.

Link copied to clipboard

When set to true the Bitmovin Player Web UI forces subtitles back into their respective container if they overflow and are therefore cropped.

Link copied to clipboard

The URI pointing to the JS file that will be used for the Bitmovin Web UI. Default value is "file:///android_asset/bitmovinplayer-ui.js", using the local default UI JS.

Link copied to clipboard

Whether the Bitmovin Web UI will show playback speed selection options in the settings menu. Default is true.

Link copied to clipboard

The URI pointing to the supplemental CSS file that will be used for the Bitmovin Web UI. The contained styles will be added to the CSS file specified in cssLocation. Default is null.