Interview Questions

HTML5 Video

The video element represents the video stream.

Global Attributes:

src
poster
autobuffer
autoplay
loop
controls
width
height

Example:

<!DOCTYPE html>
<html>

<head>
<title>Play sample Video File</title>
</head>

<body>
<!-- Logic to play the Video file -->
<video  height="300" width="300" src="TDD.mp4" controls />
</body>
</html>