Answers for "html5 sample video"

10

html5 video player

<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. <!-- Text to be shown incase browser doesnt support html5 -->
</video>
Posted by: Guest on March-21-2020
0

basic video player html

// basic video player html
<video class="video-container" controls muted autoplay loop>
  <source src="./video.mp4" type="video/mp4"/>
</video>
Posted by: Guest on July-11-2021

Browse Popular Code Answers by Language