From 146323f817b47c7ec0aa1bfaedcf0cbd5b6ee5ef Mon Sep 17 00:00:00 2001 From: Felix Boehme Date: Thu, 31 Aug 2023 18:46:12 +0200 Subject: [PATCH] Swap out testing link --- src/video/state/providers/castingStateProvider.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/video/state/providers/castingStateProvider.ts b/src/video/state/providers/castingStateProvider.ts index 72f6639a..8c7f5746 100644 --- a/src/video/state/providers/castingStateProvider.ts +++ b/src/video/state/providers/castingStateProvider.ts @@ -153,8 +153,7 @@ export function createCastingStateProvider( 1, chrome.cast.media.TrackType.TEXT ); - subtitles.trackContentId = - "https://cc.2cdns.com/a8/d8/a8d8c98288d4db1d6404e54c644091f5/eng-9.vtt"; + subtitles.trackContentId = state.source?.caption?.url; subtitles.trackContentType = "text/vtt"; subtitles.subtype = chrome.cast.media.TextTrackType.SUBTITLES; subtitles.name = "Subtitles";