html5 video controls javascript code example
Example: html video controls
//The controls attribute is a boolean attribute.
<video controls>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>