在Internet Explorer 8中查看時,似乎簡單的YouTube iframe嵌入了JavaScript錯誤。希望有人能夠找到我做錯的地方 - 除非這是一個新的錯誤?YouTube iframe在Internet Explorer 8中嵌入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
任何人有任何見解呢?
如果您仍然遇到這種情況,請打開一個錯誤,因爲在這個博客帖子描述:http://apiblog.youtube.com/2012/09/the-youtube-api-on-stack-overflow.html –
感謝您的回覆。上週我打開了一張票:https://code.google.com/p/gdata-issues/issues/detail?id = 4422 – 3hough