HTML5 has improved the label of the video, this example applies the video tag <video> in the HTML5
Current HTML5 supports three formats of video, OGG, MP4, and WEBM in three different formats
The <video> properties are:
AutoPlay Video Play Now
Controls display the control to the user
Height Set video Player Heights
Loop starts playing again when the media file finishes playing
Preload video is loaded when the page loads and ready to play. If you use AutoPlay to ignore this property
src URL of the video to play
Width set the size of the player
This example has the following effects:
The source code is as follows:
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<meta http-equiv= "Content-type" content= "text/html; Charset=utf-8 "/>
<title> Untitled Document </title>
<body>
<video src= ". /documents/unnamed Site 2/washes tutorial-js programming No. 0270: Instance 02-Basic dialog box. MP4 "height=" 720 "width=" 960 "controls=" Controls >
</video>
</body>
001 HTML5 Video