diff --git a/frontend/app/components/Spots/SpotPlayer/components/SpotVideoContainer.tsx b/frontend/app/components/Spots/SpotPlayer/components/SpotVideoContainer.tsx index a319658bf..8a078d9cf 100644 --- a/frontend/app/components/Spots/SpotPlayer/components/SpotVideoContainer.tsx +++ b/frontend/app/components/Spots/SpotPlayer/components/SpotVideoContainer.tsx @@ -105,6 +105,7 @@ function SpotVideoContainer({ videoRef.current.src = ''; setTimeout(() => { videoRef.current!.src = videoURL; + startPlaying(); }, 0); } @@ -117,8 +118,6 @@ function SpotVideoContainer({ }); }; check(); - videoRef.current.src = videoURL; - startPlaying(); } } else if (streamFile && videoRef.current && videoRef.current.canPlayType('application/vnd.apple.mpegurl')) { setLoaded(true); @@ -224,7 +223,7 @@ function SpotVideoContainer({ width={75} className="mb-5" /> -