WebUi
Configures the visual presentation and behaviour of the Bitmovin Web UI.
The Web UI is hosted in a WebView. For debugging the Web UI, it is possible to set WebView.setWebContentsDebuggingEnabled in code or android:debuggable="true" in the app manifest to enable debugging of all WebView contents i.e. globally for the app.
Constructors
Properties
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.
Additional JSON-serialized options to use when creating the Bitmovin Player Web UI. These options will be set in the Bitmovin Player Web UI's JavaScript context, on the UIConfig
type, before being passed to UIFactory
.
Whether the WebView should be focused on initialization.
When set to true
the Bitmovin Player Web UI forces subtitles back into their respective container if they overflow and are therefore cropped.
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.
Whether the Bitmovin Web UI will show playback speed selection options in the settings menu. Default is true
.
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
.
The Ui variant to use for the Bitmovin Player Web UI.