Answers for "js stop video"

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

Browse Popular Code Answers by Language