Horje
HTML Video

The HTML <video> element is used to show a video on a web page.

The HTML5 specification introduced the video element for the purpose of playing videos, partially replacing the object element.


Example HTML Video Player on HTML5

Follow the Example
index.html
Example: HTML
<!DOCTYPE html> 
<html> 
<body> 

<video width="400" controls>
  <source src="https://www.w3schools.com/html/mov_bbb.mp4" type="video/mp4">
  <source src="https://www.w3schools.com/html/mov_bbb.mp4" type="video/ogg">
  Your browser does not support HTML video.
</video>

<p>
Video courtesy of 
<a href="https://www.bigbuckbunny.org/" target="_blank">Big Buck Bunny</a>.
</p>

</body> 
</html>

Output should be:

Example HTML Video Player on HTML5





Category:
Web Tutorial
Sub Category:
HTML Video
Uploaded by:
Admin


Read Article
https://horje.com/learn/1434/reference