From def565cf3b030e59ac1d3cf85a294f5cfecda2af Mon Sep 17 00:00:00 2001 From: ner Date: Fri, 31 Jul 2026 15:55:46 +0300 Subject: [PATCH] fix: set crossOrigin on the player so cross-origin HLS subtitles render Vidstack loads text-track cues via JS; cross-origin subtitle tracks (served by TorrServer on another origin) need the crossorigin attribute on the media element to render. Also required for native HLS on iOS/TV to use the cross-origin stream. Co-Authored-By: Claude Opus 4.8 --- .../Preview/components/Torrents/components/Player/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/Preview/components/Torrents/components/Player/index.tsx b/components/Preview/components/Torrents/components/Player/index.tsx index 041b4ea..dccf09d 100644 --- a/components/Preview/components/Torrents/components/Player/index.tsx +++ b/components/Preview/components/Torrents/components/Player/index.tsx @@ -63,6 +63,7 @@ const Player: FC = ({ magnet, playlist, subtitles }) => {