Answers for "mp4 video in html"

0

adding mp4 in html

<video width="400" controls>
  <source src="mov_bbb.mp4" type="video/mp4">
  <source src="mov_bbb.ogg" type="video/ogg">
  Your browser does not support HTML video.
</video>

<video width="400" controls>
  <source src="mov_bbb.mp4" type="video/mp4">
 
  Your browser does not support HTML video.
</video>
Posted by: Guest on March-01-2021
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

Browse Popular Code Answers by Language