Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

using ontimeupdate in javascript

const video = document.querySelector('video');

video.addEventListener('timeupdate', (event) => {
  console.log('The currentTime attribute has been updated. Again.');
});
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #ontimeupdate #javascript
ADD COMMENT
Topic
Name
4+8 =