Note the names of the subtitles in video player is from the label attribute.

Styling Subtitles with CSS

The subtitle text can be styled with CSS using the ::cue pseudo-element. The background of the subtitle text or the color of the text or its size or the font can be modified using simple CSS declarations.