I have a <video>
tag with the id of "liveVideo". How do I retrieve the length of the video in seconds?
Thanks,
David!
I have a <video>
tag with the id of "liveVideo". How do I retrieve the length of the video in seconds?
Thanks,
David!
media.duration
check the spec http://www.w3.org/TR/html5/video.html#offsets-into-the-media-resource
$('#liveVideo').attr('duration') // will return the full length of the movie