The background color for the text track.
This targets the area directly behind the text.
<br/> - `red` will set the background color of the text track to red.
<br/> - `#ff0000` will set the background color of the text track to red.
<br/> - Available on Web only: `rgba(255,0,0,0.5)` will set the background color of the text track to red, with 50% opacity.
The edge style of the text, represented by a value from the following list:
- 'none'
- 'dropshadow'
- 'raised'
- 'depressed'
- 'uniform
The font color for the text track.
<br/> - `red` will set the color of the text to red.
<br/> - `#ff0000` will set the color of the text to red.
<br/> - Available on Web only: `rgba(255,0,0,0.5)` will set the color of the text to red, with 50% opacity.
The font family for the text track.
The font size for the text track.
Can be a percentage value such as '50%', '75%', '100%', '150%' or '200%'.
The bottom margin of the area where subtitles are being rendered.
- The margin is in number of pixels.
- Available on Web only.
The left margin of the area where subtitles are being rendered.
- The margin is in number of pixels.
The right margin of the area where subtitles are being rendered.
- The margin is in number of pixels.
- Useful for pushing the subtitles left, so they don't overlap with the UI.
- Available on Web only.
The top margin of the area where subtitles are being rendered.
- The margin is in number of pixels.
The window color for the text track.
- This targets the area covering the full width of the text track.
- Available on Web and Android only.
<br/> - `red` will set the background color of the window of the text track to red.
<br/> - `#ff0000` will set the background color of the window of the text track to red.
<br/> - Available on Web only: `rgba(255,0,0,0.5)` will set the background color of the window of the text track to red, with 50% opacity.
The text track style API.