参见英文答案 > YouTube iframe player API – OnStateChange not firing 1个
我在Getting Started尝试这个例子,它在任何浏览器中都不起作用.我不完全确定,但我相信它在几天前就已经奏效了.他们有可能改变
什么在http://www.youtube.com/iframe_api?
Internet Explorer提供:
Array.prototype.forEach: ‘this’ is null or undefined
Google Chrome给出了几个:
- Unable to post message to 07004. Recipient has origin 07005. www-widgetapi-vfljlXsRD.js:22
- Blocked a frame with origin “07004” from accessing a frame with origin “07005”. Protocols,domains,and ports must match.
- Uncaught TypeError: Array.prototype.forEach called on null or undefined www-widgetapi-vfljlXsRD.js:5
- Uncaught TypeError: Object # has no method ‘playVideo’
The engineering team has identified an issue that is preventing the
iframe API from functioning at the moment. They have traced the root
cause to a disruption caused by an ongoing server-side push,and once
that push is fully complete,the JavaScript errors should completely
subside. It will likely be several more hours before the push is
complete,unfortunately.This is not expected to be a regular occurrence,and we apologize for
the inconvenience caused by this outage.
根据他们的信息,听起来它应该尽快恢复运作.