How It Works: Supporting Multiple Video Formats

In this lesson we will understand the workings of the previous lesson's exercise on adding support for multiple video formats in HTML. Let's begin!

How it works

In step one, you used the <source> tag, instead of the src attribute of <video>, to specify the stream to play:

Get hands-on with 1200+ tech skills courses.