The <video>
tag allows you to embed videos directly into your web pages, enhancing user experience and interactivity. The feature adds playback controls such as play, pause, and volume. Have you used the <video>
tag with different source formats in your web projects?
for Example
<!DOCTYPE html>
<html>
<title></title>
<body>
<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
</video>
<body>
</html>
Top comments (0)