<span class="video-time" id="time">
<span class="video-currenttime" id="current">00:00</span>
<span class="video-duration" id="duration">00:00</span>
</span>
$(document).ready(function(){
$('#video').on('timeupdate', function() {
onTrackedVideoFrame(this.currentTime, this.duration);
});
});
function onTrackedVideoFrame(currentTime, duration){
$('#current').text(currentTime);
$('#duration').text(duration);
}