2
I am developing a player in Html5. I am in the part where I need to display the total duration time and the current time. But I only know how to get the values through the float.
Example
console.log(video.duration); // 6605
console.log(video.currentTime); // 0.855
Html5 offers some property or function where I can get these values in the format hh:mm:ss
?
I already answered a question by doing this but for an audio instead of video. You can see here
– Isac