subtitleStyle([style])
Class: MediaPlayer.
Description:
Sets or gets the style of the subtitles. When None, subtitles are not visible. The background is used for improved readability when video colors are similar to colors of subtitles text.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
Style of the subtitle, or |
Returns:
If called without parameters, the instance of the MediaPlayer component is returned, otherwise current value is returned.
Type: MediaPlayer.SubtitleStyle | MediaPlayer
