に例を試していますが、どのブラウザでも動作しません。私は完全にはわかりませんが、私はそれが数日前に働いたと信じています。彼らは の何かをhttp://www.youtube.com/iframe_apiに変更できますか?YouTube iframe_api Googleの例がもう機能しない
インターネット Explorerが得られます。
Array.prototype.forEach: 'this' is null or undefined
Google Chromeはいくつかを与える:
- 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'
よく私はhttps://developers.google.com/youtube/youtube_player_demoでライブデモを試みましたが、うまくいきません。 不安定です。これは頻繁に起こりますか? – aljj
約18時間前にiframe apiで問題が発生し始めました。 YT.Playerコンストラクタは、持つべきすべてのメソッドを持たないプレーヤオブジェクトを作成しています。たとえば、getPlayerStateはありません。 – bvs
同じ問題があります。 –