[ 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

None

Subtitles not visible (only sent as a player event).

Plain

Visible but without a background.

Shadow

Subtitle has a shadow background. (Default)

Box

Subtitle is placed inside a solid box.

RoundBox

Subtitle is placed inside a solid box with rounded corners.

Examples:

player.subtitleStyle(MediaPlayer.SubtitleStyle.Box);

Also See: