subtitleBackground([color])
Class: MediaPlayer.
Description:
Sets or gets the background color of subtitles text. The background is used for improved readability when video colors are similar to colors of subtitles text.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
String |
Color string (e.g.: "#000000" or "00000000"). Supports alpha channel for setting transparency. |
Returns:
If called without parameters, the instance of the MediaPlayer component is returned, otherwise current value is returned.
Type: String | MediaPlayer
