Embed Video with Loop and Autoplay in HTML5

Here's the code for anybody that's interested. Not to say it's the perfect solution, but it'll do for right now. Thanks to W3Schools.

Call up the HTML block and place in the following code. Switch out the name of your movie file with the one below.

<!DOCTYPE html>

<video width="900" height="500" controls loop video controls autoplay>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.


View Replies: