In an HTML text, a video is defined via the <video> tag. Using the <source> element inside the video block permits different source files to guarantee browser compatibility.
Attributes:
Example of Embedding a Video:
<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
In an HTML text, a video is defined via the <video> tag. Using the <source> element inside the video block permits different source files to guarantee browser compatibility.
Attributes:
Example of Embedding a Video:
<video width="320" height="240" controls> <source src="movie.mp4" type="video/mp4"> <source src="movie.ogg" type="video/ogg"> Your browser does not support the video tag. </video>
Copyrights © 2024 letsupdateskills All rights reserved