when you add video whithout HTML5 it will look like flash.
The HTML5 <video> element specifies a standard way to embed a video in a web page.
The numbers in the table specify the first browser version that fully supports the <video> element.
To show a video in HTML, use the <video> element:
The controls attribute are very useful in video you can adds controls like play pause and volume.
It is very easy to include both width and height attributes.
It is compulsory set height and width , If you are not set browser does not know size of video.
Text between the <video> and </video> tags will only display in browsers that do not support the <video> element.
Multiple <source> elements can link to different video files. First The browser will use recognized format.
To start a video automatically use the autoplay attribute:
Currently, there are 3 supported video formats for the <video> element: MP4, WebM, and Ogg:
|Opera||YES (from Opera 25)||YES||YES|
|File Format||Media Type|
HTML5 include DOM methods, properties, and events for the <video> element.
This allows you to load, play, and pause videos, as well as setting duration and volume.
DOM events that can notify you when a video begins to play, is paused, etc.
For a full DOM reference, go to our HTML5 Audio/Video DOM Reference.
Your message has been sent to welookups.