diff --git a/src/subtitleTrack.ts b/src/subtitleTrack.ts index 608dc2c0..f2003a54 100644 --- a/src/subtitleTrack.ts +++ b/src/subtitleTrack.ts @@ -58,6 +58,10 @@ export interface SideLoadedSubtitleTrack { * The label for this track. */ label: string; + /** + * The IETF BCP 47 language tag associated with this track, e.g. `pt`, `en`, `es` etc. + */ + language: string; /** * The unique identifier for this track. If no value is provided, a random UUIDv4 will be generated for it. */ @@ -78,8 +82,4 @@ export interface SideLoadedSubtitleTrack { * Default is `false`. */ isForced?: boolean; - /** - * The IETF BCP 47 language tag associated with this track, e.g. `pt`, `en`, `es` etc. - */ - language: string; }