HTML5 uses <video>, which is a new element to specify a standard method of embedding. Browsers such as Firefox, IE9, Chrome, Opera and Safari all support the new <video> element.
Ex. of displaying a video in HTML5
<video width="300" height="210" controls="controls">
<source src="movie1.mp4" type="video/mp4">
<source src="movie1.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
The control attribute adds the video controls, such as play, pause, or volume. You can link to different video files with the <source>. The <video> element allows several <source> elements. The browser will then use the first recognized format.
There are Currently 3 supported video formats for the <video> element (MP4, WebM, and Ogg)
HTML5 uses properties, DOM methods, and events for the <audio> and <video> elements. These also enable the manipulation of <video> and <audio> elements with JavaScript.
HTML5 Video
HTML5 uses <video>, which is a new element to specify a standard method of embedding. Browsers...
html5 video
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users