Start muted

This commit is contained in:
2024-10-13 14:15:28 -06:00
parent 9619e7517b
commit 11f480f206

View File

@@ -241,6 +241,8 @@ const Video = forwardRef<VideoRef, ReactVideoProps>(
onBuffer?.({ isBuffering: event.buffering });
});
player.attach(mediaElement)
// Load the video source
player
//@ts-ignore
@@ -294,7 +296,7 @@ const Video = forwardRef<VideoRef, ReactVideoProps>(
return (
<video
ref={nativeRef}
muted={muted}
muted={true}
controls={controls}
loop={repeat}
playsInline