I am writing a Browser Plugin and need to find a way to get the current time a YouTube Video playing on YouTube using JavaScript. I have been playing around in the Chrome Ja
In 2020, this works:
player.playerInfo.currentTime
full code: see it live on codepen