Video element in HTML5
Video Element in HTML5
HTML5
includes an interesting feature of Video tag. It provides us the facility to
add the video in our web page. It has a lots of attribute like
looping,autoplay, muted. Here is the simple example of HTML5:
<!DOCTYPE HTML>
<html>
<body>
<video
src="http://www.youtube.com/watch?v=qtzjzMsJiO8" width="230" height="140"
controls="controls">
This browser is not supporting the
video tag.
</video>
</body>
</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.
Author
Mahak Gupta
0
18k
4m