Browse Source

Swap out testing link

pull/419/head
Felix Boehme 2 years ago
parent
commit
146323f817
No known key found for this signature in database
GPG Key ID: 7EB0603E4E9642EA
  1. 3
      src/video/state/providers/castingStateProvider.ts

3
src/video/state/providers/castingStateProvider.ts

@ -153,8 +153,7 @@ export function createCastingStateProvider( @@ -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";

Loading…
Cancel
Save