Answers for "how to detect if an video is over js html"

0

how to detect if an video is over js html

<video src="video.ogv" id="myVideo">
  video not supported
</video>

<script type='text/javascript'>
    document.getElementById('myVideo').addEventListener('ended',myHandler,false);
    function myHandler(e) {
        // What you want to do after the event
    }
</script>
Posted by: Guest on July-25-2021

Code answers related to "how to detect if an video is over js html"

Code answers related to "Javascript"

Browse Popular Code Answers by Language