how to display real-time of html video code example Example: audio get current time var vid = document.getElementById("myVideo"); vid.currentTime = 5;