Answers for "video play 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
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