开发者

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

开发者 https://www.devze.com 2023-02-18 22:28 出处:网络
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

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

精彩评论

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

关注公众号