Answers for "using video in html"

1

video in html

<video width="200" height="150" controls>
<source src="vid.mp4" type="video/mp4">
<source src="vid.ogg" type="video/ogg">
No video support.
</video>
Posted by: Guest on August-05-2021
1

HTML Video

<video width="320" height="240" controls autoplay muted>

  <source src="movie.mp4" type="video/mp4">

  <source src="movie.ogg" type="video/ogg">

Your browser does not support the video tag.

</video>
Posted by: Guest on May-31-2021
0

html video play

var vid = document.getElementById("myVideo");

function playVid() {
    vid.play();
}

function pauseVid() {
    vid.pause();
}
Posted by: Guest on March-13-2021

Browse Popular Code Answers by Language