Answers for "how to get video duration in javascript"

0

how to get video duration in javascript

const i = setInterval(function() {
	if(video.readyState > 0) {
		var minutes = parseInt(video.duration / 60, 10);
		var seconds = video.duration % 60;
		clearInterval(i);
	}
}, 200);
Posted by: Guest on July-16-2021

Code answers related to "how to get video duration in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language