|
|
To start a video automatically, use the |
<video width="320" height="240" autoplay>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video> <!DOCTYPE html>
<html>
<body>
<video width="320" height="240" autoplay>
<source src="https://www.w3schools.com/html/movie.mp4" type="video/mp4">
<source src="https://www.w3schools.com/html/movie.mp4" type="video/ogg">
Your browser does not support the video tag.
</video>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<video width="320" height="240" autoplay muted>
<source src="https://www.w3schools.com/html/movie.mp4" type="video/mp4">
<source src="https://www.w3schools.com/html/movie.mp4" type="video/ogg">
Your browser does not support the video tag.
</video>
</body>
</html>
Category: | Web Tutorial |
Sub Category: | HTML Video |
Uploaded by: | Admin |
Read Articlehttps://develop.horje.com/learn/1434/reference