Optional
fluidWhether the UI of the player is responsive.
false
Optional
fullscreenOptions to control transitions to fullscreen mode.
- Available since v2.90.0.
Optional
heightThe height of the player.
Possible formats
- A number as the amount of pixels.
- A percentage string (XX%).
Optional
languageThe language which is used for localization.
- This can be a language map.
- Otherwise it can be a language code which is the key to a language map in UIConfiguration.languages.
Localize statically to one language.
ui: {
language: {
"Play": "Reproducir",
"Pause": "Pausa",
"Current Time": "Tiempo actual",
// [...]
}
}
Localize dynamically to one of multiple languages.
ui: {
language: 'es',
languages: {
"es": {
"Play": "Reproducir",
"Pause": "Pausa",
"Current Time": "Tiempo actual",
// [...]
},
"fr": {
// [...]
}
}
}
Optional
languagesA record used to localize to multiple languages. Each entry contains a language code with associated language map.
Optional
userActions that define the behavior of the player.
- Available since v4.3.0
Optional
widthThe width of the player.
Possible formats
- A number as the amount of pixels.
- A percentage string (XX%).
Generated using TypeDoc
Describes the UI configuration of the player.