The HTML5 video element with video type setting - HTML CSS HTML

HTML CSS examples for HTML:Video

Description

The HTML5 video element with video type setting

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html lang="en">
 <head> 
  <meta charset="UTF-8"> 
  <title>The HTML5 video element</title> 
 </head> <!--from  www  . j  a v a  2s  .  c  om-->
 <body> 
  <video controls="controls"> 
   <source src="../your.mp4" type="video/mp4"> 
   <source src="../your.ogv" type="video/ogg"> Your browser does not support the HTML5 Video element. 
  </video>   
 </body>
</html>

Related Tutorials