The background color for the text track.
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.
The font family for the text track.
The font size for the text track.
The bottom margin of the area where subtitles are being rendered.
The left margin of the area where subtitles are being rendered.
The right margin of the area where subtitles are being rendered.
The top margin of the area where subtitles are being rendered.
The window color for the text track.
Add the given listener for the given event type(s).
The type of the event.
The callback which is executed when the event occurs.
Remove the given listener for the given event type(s).
The type of the event.
The callback which will be removed.
The text track style API.
Remarks
- Available since v2.27.4.