I want to retrieve the current second in the Youtube video on my site using Youtube API in Zend.
I didn't find any informatio开发者_运维技巧n on this in google.
Will answer my own question for future viewers to see the solution to the problem. You can do that using the youtube JavaScript API: http://code.google.com/apis/youtube/js_api_reference.html
player.getCurrentTime():Number
Returns the elapsed time in seconds since the video started playing.
精彩评论