MAIN PAGE

Big Buck Bunny Video w/o Poster

Big Buck Bunny w/t poster

You can also use the source element inside a video element, just like you did with the audio element. This lets you provide the same video in multiple formats, and the browser will choose the first one it can play.

The source element is a void element so it does not have a closing tag.

<video width="640" loop controls muted poster="https://cdn.freecodecamp.org/curriculum/labs/past-event2.jpg" > <source src="https://cdn.freecodecamp.org/curriculum/labs/what-is-the-map-method-and-how-does-it-work.mp4" type="video/mp4" > <source src="https://cdn.freecodecamp.org/curriculum/labs/mapmethod.webm" type="video/webm" > </video>