Call handleLoadedMetadata too if not playing yet

This commit is contained in:
Josh Hawkins 2024-07-02 15:35:10 -05:00
parent 88693c19e5
commit adffc1d6d0

View File

@ -387,6 +387,7 @@ function MSEPlayer({
onProgress={() => {
if (!isPlaying) {
setIsPlaying(true);
handleLoadedMetadata?.();
onPlaying?.();
}
if (onError != undefined) {