fix: fixed issue where subtitles didnt change (#1168)

Signed-off-by: Lance Chant <13349722+lancechant@users.noreply.github.com>
This commit is contained in:
lance chant
2025-11-07 16:13:17 +02:00
committed by GitHub
parent a4cce27737
commit b847baa314

View File

@@ -121,7 +121,7 @@ export const VideoProvider: React.FC<VideoProviderProps> = ({
});
return;
}
setTrack?.(index);
setTrack?.(serverIndex);
router.setParams({
[paramKey]: serverIndex.toString(),
});