Another aspect shared by both the audio and the video elements is that each has controls, autoplay and loop attributes
<video controls autoplay loop>
   <source src="http://www.sololearn.com/uploads/video.mp4" type="video/mp4">
   <source src="http://www.sololearn.com/uploads/video.ogg" type="video/ogg">
   Video is not supported by your browser
</video>
In this example, the video will replay after it finishes playing Note:
Currently, there are three supported video formats for the <video> element: MP4, WebM, and OGG
by Valeri Tandilashvili
4 years ago
HTML
attributes
1
Pro tip: use ```triple backticks around text``` to write in code fences