Answers for "html video player w3schools"

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
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