2013-06-12 14 views
5

Próbuję przykład w Getting Started i nie działa w żadnej przeglądarce. Nie jestem do końca pewien, ale sądzę, że działało to kilka dni temu. Czy to możliwe, że zmienili coś w http://www.youtube.com/iframe_api?YouTube iframe_api Google przykład już nie działa

Internet Explorer daje  :

Array.prototype.forEach: 'this' is null or undefined

Google Chrome daje kilka:

  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'
+0

Dobrze wypróbowałem ich wersję demonstracyjną na żywo na https://developers.google.com/youtube/youtube_player_demo i to nie działa tak dobrze. Niewiarygodne. Czy zdarza się to często? – aljj

+2

Zaczęliśmy widzieć problem z aparem iframe około 18 godzin temu. Konstruktor YT.Player tworzy obiekt odtwarzacza, który nie ma wszystkich metod, jakie powinien posiadać. Na przykład brak getPlayerState. – bvs

+0

Mając ten sam problem. –

Odpowiedz

2

Wygląda na to, że YouTube jest świadomy problemu. Od 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.

oparciu o ich wiadomości, to brzmi jak powinno być z powrotem do funkcjonowania jak najszybciej.

Powiązane problemy