Create video html code


How to insert video in web page and play it using HTML ?

<!DOCTYPE html>  

<html>  

 
<body style="text-align: center;">  


    <h1 style="color: green;"> 

        GeeksforGeeks 

    </h1>  

      

    <h2>  
<p>
Adding Video on my Webpage  
<p>
<video width="500px" height="500px" 

        controls="controls"/>  

<source src="vid.mp4" 

            type="video/mp4">  
      </video> 
    </body>
</html>