diff --git a/components/video-player/controls/contexts/VideoContext.tsx b/components/video-player/controls/contexts/VideoContext.tsx index a5fffd48..ac289bf2 100644 --- a/components/video-player/controls/contexts/VideoContext.tsx +++ b/components/video-player/controls/contexts/VideoContext.tsx @@ -121,7 +121,7 @@ export const VideoProvider: React.FC = ({ }); return; } - setTrack?.(index); + setTrack?.(serverIndex); router.setParams({ [paramKey]: serverIndex.toString(), });