Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

YouTube iframe_api Google example does not work anymore [duplicate]

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:

  1. Unable to post message to http://www.youtube.com. Recipient has origin http://mylocalmachine.com:55495. www-widgetapi-vfljlXsRD.js:22
  2. 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.
  3. Uncaught TypeError: Array.prototype.forEach called on null or undefined www-widgetapi-vfljlXsRD.js:5
  4. Uncaught TypeError: Object # has no method 'playVideo'
like image 417
aljj Avatar asked Oct 03 '22 20:10

aljj


1 Answers

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.

like image 66
feedbackloop Avatar answered Oct 10 '22 13:10

feedbackloop