Level 58
You can use the HTML5 video element's currentTime property to get the elapsed time and duration property to get the total video time. Here's an example:
const video = document.querySelector('video');
// Get elapsed time
const elapsedTime = video.currentTime;
// Get total video time
const totalVideoTime = video.duration;
You can then use these values to display the elapsed time and total video time on your webpage.