Skip to main content

Properties

SubtitleFormat
required
Subtitle format, one of:vtt — WebVTT. srt — SubRip.
Key-value pairs of HTTP (and non-standard HTTP) headers that should be included when accessing the subtitle URL.
string
required
Human-readable language name for the subtitle track. default/unknown —> Unknown
{ id: string; name: string }
required
Information on the provider that provided this subtitle track.
string
required
A string representing the original URL to the subtitle from the provider, which may require CORS handling or custom headers (provided in the headers field).
Last modified on July 27, 2026