The controls attribute adds video controls, like play, pause, and volume. The text between the <video> and </video> tags will only be displayed in browsers that do not support the <video> element. There are three supported video formats: MP4, WebM, and Ogg.

Autoplay

To start a video automatically, use the autoplay attribute.


Muted autoplay

Add muted after autoplay to let your video start playing automatically (but muted)




Audio

autoplay

autoplay muted

Youtube video


autoplay, mute (autoplay=1&mute=1)

YouTube Loop

Add loop=1 to let your video loop forever.

YouTube Controls

Add controls=0 to not display controls in the video player.