I'm wondering how can we get pause,play and upto how much user seen the video data from the youtube player api ?Is this possible to get those details ?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
For getting current time : getCurrentTimeMillis()
For moving the video to the time indicated: seekToMillis(int milliSeconds)
To plays the selected video : play()
To pause the video: pause()
And to get info maybe the best option would be use JSON