SyntaxFix
Write A Post
Hire A Developer
Questions
call function on load:
<video onload="doWhatYouNeedTo()" src="demo.mp4" id="video">
get video duration
var video = document.getElementById("video"); var duration = video.duration;