start video muted

This commit is contained in:
MLH
2024-11-15 00:59:39 +01:00
parent 161fad5fc4
commit d9b216ce49

View File

@@ -177,6 +177,9 @@ const createSlideElement = (movie, hasVideo = false) => {
height: '100%',
width: '100%',
videoId,
playerVars: {
mute: 1 // Start the video muted
},
events: {
'onReady': event => {
event.target.playVideo();