Video Tests

Hero Video Embed Tips

 

For Youtube Videos

After the src url, make sure ?controls=0&autoplay=1&mute=1 is added. Muting the video allows it to be autoplayed. This also removes the controls. Example below:

<iframe width="1920" height="1080" src="https://www.youtube-nocookie.com/embed/otw1uLV33OA?controls=0&autoplay=1&mute=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay=1; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

 

 

For Vimeo Videos

When sharing the video from Vimeo, click + Show Options, and select Responsive, Autoplay this Video, and Loop this Video. Then copy and paste that code in WordPress and add &background=1 to the end of the src url. Example below:

<div style="padding:56.25% 0 0 0;position:relative;"><iframe src="https://player.vimeo.com/video/844258606?h=6035849bf7&autoplay=1&loop=1&background=1" style="position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen></iframe></div><script src="https://player.vimeo.com/api/player.js"></script>

Autoplay and loop embedded videos – Vimeo Help Center