সম্পাদনা
<!DOCTYPE html> <html> <body> <video controls ontimeupdate="timeUpdated(this)" width="300" src="/videos/rain.mp4"> </video> <p id="message"></p> <script> function timeUpdated(video) { document.getElementById("message").innerHTML = "Time: " + video.currentTime.toFixed(1); } </script> </body> </html>
পূর্বরূপ