【发布时间】:2013-04-08 01:31:57
【问题描述】:
在 Internet Explorer 8 中查看时,简单的 YouTube iframe 嵌入似乎会引发 JavaScript 错误。希望有人能找出我做错了什么 - 除非这是一个新错误?
如何重现:
- 打开 Internet Explorer 8 并按 F12 以调出开发者工具
- 切换到“控制台”选项卡以观看 JavaScript 控制台
- 访问 http://ehough.com/ie8-youtube.html,这是直接从 youtube.com 复制的 iframe 嵌入,并查看 JavaScript 错误
错误:
SCRIPT5007: Unable to get value of the property 'getActivated': object is null or undefined
ie8-youtube.html, line 28 character 128
SCRIPT5020: Expected ')' in regular expression
html5player-vflR_cX32.js, line 675 character 708
SCRIPT438: Object doesn't support property or method 'SetReturnValue'
www-embed-vflqDUnF8.js, line 66 character 56
SCRIPT438: Object doesn't support property or method 'SetReturnValue'
uVlr4eYkNjY, line 1 character 1
有人对此有任何见解吗?
【问题讨论】:
-
如果您仍然遇到此问题,请按照此博客文章中的说明打开一个错误:apiblog.youtube.com/2012/09/…
-
感谢您的回复。我上周开了一张票:code.google.com/p/gdata-issues/issues/detail?id=4422
标签: javascript html youtube youtube-api