Throughout the past three weeks I have learned a lot of JavaScript and today these two video
element attributes were the new ones for me.
Table of Contents
Lessons Learned
loop
A boolean attribute for video
elements if the content will be played back after reach the end or not.
<video width="400" height="300" src="video.mp4" loop></video>
controls
A boolean attribute for video
elements if the volume, seeking, pause and resume playback video controls should be shown.
<video width="400" height="300" src="video.mp4" loop controls></video>
References
- “Video Speed Controller UI” wesbos.com, uploaded by Wes Bos, 8 Dec. 2016, <
javascript30.com
>. - ”<video>: The Video Embed element - HTML: HyperText Markup Language | MDN.” MDN Web Docs, Mozilla Developer Network, 8 Dec. 2021, <
developer.mozilla.org/en-US/docs/Web/HTML/Element/video
>.