In this lab, you will create a simple video player using HTML.
To add a video to the HTML Page, follow the steps below:
- Create a video element in the HTML file with
- Add an
videoto the video element
- Add a source element inside the video element with the
srcattribute pointing to a sample video and the
typeattribute set to
- To make this video responsive, we will the
widthproperty of the
auto. These would auto adjust the width and the height of the video based on the available width in the current viewport of the page.
Set the video source to following video
Do not change the values of the attributes, they need to be the specified attributes to pass the tests