【发布时间】:2012-06-12 19:09:26
【问题描述】:
我有一个视频播放器,我正在尝试在右下角实现:http://downloads.raileurope.com/web_redesign/FinalFinal/redesign-michele/index.html
我的问题是视频下方的链接用于浏览视频(特别是单击点)。我使用了这种技术http://jsfiddle.net/Y9j7R/5/,它在 firefox 和 safari 中运行良好,但在 chrome 或 ie 中却不行。在控制台中,我收到错误 Uncaught TypeError: Cannot call method 'postMessage' of undefined。任何帮助将不胜感激。
箭头的工作很有趣,因为我所做的只是在点上模拟点击(使用 next() 和 prev()),但这些在 ie7 中根本不起作用。
【问题讨论】:
标签: jquery iframe console youtube-api