List steps to add a video clip in a website which starts playing as the web page loads.

Add a video clip in a website which starts playing as the web page loads

To embed a video that plays automatically, you can use the <video> tag with the autoplay, muted, and loop attributes.

Example Code:

<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”UTF-8″>
<title>Autoplay Video</title>
</head>
<body>

<video width=”600″ height=”400″ autoplay muted loop>
<source src=”video.mp4″ type=”video/mp4″>
Your browser does not support the video tag.
</video>

</body>
</html>