Assignment 7: Media
The 5-Part Video Element
If you have your own video files, the video element allows you to add a functioning player to your website.
The 5 attributes the video element should include are:
- The tags themselves.
- The source attribute.
- A video poster.
- Width and height values.
- Other attributes which define how users can interact with the media.
Note As there are two ways to approach this, the following pages with showcase both:
Use this set-up if you only have one version of the video file, like an MP4.
Use this set-up if you have multiple versions of the video file, like MP4, WebM, OGG, etc.