I need a way of getting the total time length of the video and the current time with jquery and displaying it in a couple of
https://www.w3schools.com/tags/av_event_timeupdate.asp
// Get the element with id="myVideo" var vid = document.getElementById("myVideo"); // Assign an ontimeupdate event to the element, and execute a function if the current playback position has changed vid.ontimeupdate = function() {myFunction()}; function myFunction() { // Display the current position of the video in a element with id="demo" document.getElementById("demo").innerHTML = vid.currentTime; }
element with id="demo" document.getElementById("demo").innerHTML = vid.currentTime; }