HTML - embed video tag for HTML,responsive

0 votes
361 views
added Apr 28, 2022 in HTML by lcjr First Warrant Officer (11,530 points)
edited Nov 30, 2023 by lcjr
<video width="100%" height="auto" controls="">
  <source src="video/example.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>

 

1 Response

0 votes
responded Nov 30, 2023 by lcjr First Warrant Officer (11,530 points)
<video controls style="width: 100%; height: auto;">
    <source src="vid/1.mp4" type="video/mp4">
    Your browser does not support the video tag.
</video>

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...