···532532 id: track.id.toString(),
533533 language: track.lang ?? "unknown",
534534 url: track.url,
535535+ type: "vtt", // HLS captions are typically VTT format
535536 needsProxy: false,
536537 hls: true,
537538 };
+7
src/components/player/utils/captions.ts
···101101 id: v.id,
102102 language: v.language,
103103 url: v.url,
104104+ type: (v as any).type,
104105 needsProxy: v.hasCorsRestrictions,
105106 opensubtitles: v.opensubtitles,
107107+ // subtitle details from wyzie
108108+ display: (v as any).display,
109109+ media: (v as any).media,
110110+ isHearingImpaired: (v as any).isHearingImpaired,
111111+ source: (v as any).source,
112112+ encoding: (v as any).encoding,
106113 }));
107114}