HTML 5 natively support Video tag , so no more lengthy coding or dependence on .flv format for streaming Video. Now your HTML 5 enable browser supports .ogv, .ogg , .mp4 format.

Browser Compatibility :
IE 9, Firefox, Opera, Chrome, and Safari support the <video> element.
Coding Structure
Its very simple to implement on your web page.
To Know more visit W3SCHOOLs

Browser Compatibility :
IE 9, Firefox, Opera, Chrome, and Safari support the <video> element.
Coding Structure
<video width="480" height="320" controls="controls">
<source src="intro.mp4" type="video/mp4" />
<source src="intro.ogv" type="video/ogv" />
Your browser does not support the video tag.
</video>
<source src="intro.mp4" type="video/mp4" />
<source src="intro.ogv" type="video/ogv" />
Your browser does not support the video tag.
</video>
Its very simple to implement on your web page.
HTML5 <video> - Methods, Properties, and Events
The table below lists the video methods, properties, and events supported by most browsers:| Methods | Properties | Events |
|---|---|---|
| play() | currentSrc | play |
| pause() | currentTime | pause |
| load() | videoWidth | progress |
| canPlayType | videoHeight | error |
| duration | timeupdate | |
| ended | ended | |
| error | abort | |
| paused | empty | |
| muted | emptied | |
| seeking | waiting | |
| volume | loadedmetadata | |
| height | ||
| width |
Tidak ada komentar:
Posting Komentar