ytplayer = document.getElementById("movie_player");
ytplayer.getCurrentTime();
See the api
Update: if it didn’t work, also try player.playerInfo.currentTime (codepen live example)
ytplayer = document.getElementById("movie_player");
ytplayer.getCurrentTime();
See the api
Update: if it didn’t work, also try player.playerInfo.currentTime (codepen live example)