[ static enum ] SubtitleStyle
Class: MediaPlayer.
Description:
Enum for subtitle background styles. Used to enhance subtitle readability over video. Background color can be changed by MediaPlayer > subtitleBackground
Type: number
Properties:
| Name | Description |
|---|---|
|
Subtitles not visible (only sent as a player event). |
|
Visible but without a background. |
|
Subtitle has a shadow background. (Default) |
|
Subtitle is placed inside a solid box. |
|
Subtitle is placed inside a solid box with rounded corners. |
Examples:
player.subtitleStyle(MediaPlayer.SubtitleStyle.Box);
