Answers for "how to stop video play automatically javascript"

3

stop video javascript

<video id="video">
  <source src="movie.mp4" type="video/mp4">
</video>
<script>
  const video = document.querySelector("#video");

video.pause();
video.currentTime = 0;
</script>
Posted by: Guest on January-06-2021

Code answers related to "how to stop video play automatically javascript"

Browse Popular Code Answers by Language