Video and Audio

HTML5 video and audio

The < video > and < audio > elements allow us to embed video and audio into web pages.

video video1

You can review what all the HTML features do in the article linked above; for our purposes here, the most interesting attribute is controls, which enables the default set of playback controls. If you don’t specify this, you get no playback controls:

video2

You can visit MDN to see an exampel for each step in uploading and styling videos.