Skip to main content
Answer

Muted Autoplay for HTML Embedded Video on Homepage

  • February 3, 2022
  • 2 replies
  • 827 views

I’ve been trying to get a video that we’ve embedded onto a homepage to autoplay muted when the pages loads. I’ve been trying the code I’ve pasted below (“#” is the link for the .mp4 file), but no luck. Any tips would be much appreciated!

<video width="960" height="540" controls="autoplay muted"><source src="#" type="video/mp4">
Your browser does not support the video tag.
</source></video>

 

Best answer by JDigital

The HTML/WYSIWYG Widget will strip out any autoplay muted controls you add in the code as you probably have noticed. I suggest creating a webpage hosted on your own webserver with autoplay muted ,etc.. and pull that in with the iFrame Widget instead. It will work fantastic that way.

2 replies

JDigital
Contributor I
Forum|alt.badge.img+1
  • Contributor I
  • Answer
  • February 3, 2022

The HTML/WYSIWYG Widget will strip out any autoplay muted controls you add in the code as you probably have noticed. I suggest creating a webpage hosted on your own webserver with autoplay muted ,etc.. and pull that in with the iFrame Widget instead. It will work fantastic that way.


  • Author
  • Novice I
  • February 3, 2022

Thanks @JDigital, makes sense, this’ll be exactly what I need!