Don't load metadata

This commit is contained in:
Nicolas Mowen 2024-05-27 13:05:29 -06:00
parent b183f4b181
commit 478755fffe

View File

@ -272,8 +272,8 @@ export default function HlsVideoPlayer({
? onTimeUpdate(videoRef.current.currentTime) ? onTimeUpdate(videoRef.current.currentTime)
: undefined : undefined
} }
onLoadedData={onPlayerLoaded} onLoadedData={() => {
onLoadedMetadata={() => { onPlayerLoaded?.();
handleLoadedMetadata(); handleLoadedMetadata();
if (videoRef.current) { if (videoRef.current) {