开发者

Retrieve the current second in the Youtube video on my site using Youtube API in Zend

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.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜