Video element in HTML5

Video Element in HTML5

 
HTML5 Includes an interesting feature of the video tag. It provides us the facility to add the video on our web page. It has a lot of attributes like looping, autoplay, muted. Here is the simple example of HTML5:
  1. <!DOCTYPE HTML>  
  2. <html>  
  3.     <body>  
  4.         <video src="http://www.youtube.com/watch?v=qtzjzMsJiO8"  width="230" height="140" controls="controls">  
  5. This browser is not supporting the video tag.  
  6. </video>  
  7.     </body>  
  8. </html>  
This program is used to check that the browser supports this facility or not. The control attribute is here for providing the facility for play, pause, and volume controls.
Next Recommended Reading HTML5 Open Source Video Player