Articles → HTML 5 → Video Tag In Html5
Video Tag In Html5
- You can either mention controls or autoplay attribute in video tag.
- Controls attribute adds controls like play, pause and volume.
- Autoplay attribute plays the video automatically when the page gets loaded.
- Source tag is used to mention the video path in ‘src’ attribute and the supporting media format in ‘type’ attribute. You can add as many source tag inside video tag as many you want. HTML 5 will take the first video that is supported by the browser and play it.
Click to Enlarge
|Opera||YES (from Opera 25)||YES||YES|