From adffc1d6d0a37216437f0f7c262c63b9f4dfc31f Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Tue, 2 Jul 2024 15:35:10 -0500 Subject: [PATCH] Call handleLoadedMetadata too if not playing yet --- web/src/components/player/MsePlayer.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/components/player/MsePlayer.tsx b/web/src/components/player/MsePlayer.tsx index 8feffe601..ad2c10e24 100644 --- a/web/src/components/player/MsePlayer.tsx +++ b/web/src/components/player/MsePlayer.tsx @@ -387,6 +387,7 @@ function MSEPlayer({ onProgress={() => { if (!isPlaying) { setIsPlaying(true); + handleLoadedMetadata?.(); onPlaying?.(); } if (onError != undefined) {