I need to find the viewed time of an HTML video from when a user clicks "play", to when click "pause"; at the moment I have found only the currentTime with a code like this, but this is not what I need:
$("video").on('timeupdate', function(){
console.log(this.currentTime);
});