Web development

Looping video with autoplay

To show a muted YouTube movie with looping and autoplay, use an url like


Note the use of playlist, set to the id of the video.

If you don’t mute the video, autoplay will not work, so if you want to annoy your visitors you have to think of something else.

More info on YouTube parameters.

HTML5 video

I decided to use HTML5 <video> though, which loops fluently.