VideoSubtitleTrack
VideoSubtitleTrack
#
Represents a subtitle track for a video.
src
#
src: str
The subtitle source.
Supported values
- A URL (e.g. "https://example.com/subs.srt" or "www.example.com/sub.vtt")
- An absolute local file path (not supported on the web platform)
- A raw subtitle text string (e.g. the full contents of an SRT/VTT file)