diff --git a/web/src/components/player/MsePlayer.tsx b/web/src/components/player/MsePlayer.tsx index 6a41a93e6c..841b824dbe 100644 --- a/web/src/components/player/MsePlayer.tsx +++ b/web/src/components/player/MsePlayer.tsx @@ -303,8 +303,10 @@ function MSEPlayer({ className={className} playsInline preload="auto" - onLoadedData={onPlaying} - onLoadedMetadata={handleLoadedMetadata} + onLoadedData={() => { + handleLoadedMetadata?.(); + onPlaying?.(); + }} muted={!audioEnabled} onError={() => { if (wsRef.current) {