javascript autoplay video loop code example Example: html repeating video <video controls loop></video>