gen*_*eek 6 html javascript iframe
我有一个显示嵌入式 YouTube 视频的 iFrame。
<iframe width="560" height="315" src="http://www.youtube.com/embed/xxx" frameborder="0" allowfullscreen></iframe>
Run Code Online (Sandbox Code Playgroud)
我想要做的是在用户点击 You Tube 视频时以某种方式捕获点击事件,以便我可以调用http://myserver.com/dostuff rest api 来更新跟踪点击次数和点击次数的外部服务器计数器当然允许视频按预期播放。
任何信息将不胜感激。