customOptions
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
.
These options are useful when using a custom build of the Bitmovin Player Web UI to provide custom configuration settings.
Important:
Values set here will replace any previously set values for the same property on WebUi.
The values must be deserializable by the JavaScript
JSON.parse
function.
The default is null
, meaning no custom options.
Example:
val customOptions = """
{
"customProperty1": "value1",
"customProperty2": {
"nestedProperty": "nestedValue"
}
}
"""
val uiConfig = UiConfig.WebUi(
customOptions = customOptions
)
Content copied to clipboard