Fix captions

This commit is contained in:
WardPearce
2024-10-22 21:31:13 +13:00
parent 4af17475e6
commit ef1f043a88
+2 -1
View File
@@ -128,7 +128,8 @@ export async function patchYoutubeJs(videoId: string): Promise<VideoPlay> {
captions.push({
label: caption.name.toString(),
language_code: caption.language_code,
url: caption.base_url
// Add correct format to url.
url: caption.base_url + '&fmt=vtt'
});
});