w3 video autoplay loop code example Example 1: html video loop <video loop></video> Example 2: html video repeating <video controls loop></video>