I am trying the example in Getting Started and it does not work in any browser. I'm not completely sure, but I believe it worked some days ago. Is it possible they changed something in http://www.youtube.com/iframe_api?
Internet Explorer gives:
Array.prototype.forEach: 'this' is null or undefined
Google Chrome gives several:
- Unable to post message to http://www.youtube.com. Recipient has origin http://mylocalmachine.com:55495. www-widgetapi-vfljlXsRD.js:22
- Blocked a frame with origin "http://www.youtube.com" from accessing a frame with origin "http://mylocalmachine.com:55495". 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'
It looks like YouTube is aware of the problem. From https://code.google.com/p/gdata-issues/issues/detail?id=4706:
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.
Based on their message, it sounds like it should be back to functioning as soon as possible.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With