Notes on Day 28 of 30 Days of JavaScript

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

Twitter, LinkedIn