Flash ファイルが埋め込まれた単純な html サイトがあり、SWFobject が使用されています。
このサイトは iframe のソースです。iframe のあるサイトを開くと、コンソールに次のように表示されます… </p>
Unsafe JavaScript attempt to access frame with URL file:///experiment/iframe-
test/index.html from frame with URL http://localhost.lan/embed/GYZA. Domains,
protocols and ports must match. -> swfobject.js
親ウィンドウ (iframe を含む) が iframe 内の swfobjet と何の関係があるのだろうか? 上記のように、swfobject を使用して、iframe にロードされる子ページにフラッシュを埋め込みます。このiframe-test/index.html
サイトには…</p>
<body>
<iframe src="http://localhost.lan/embed/GYZA" width="100%" height="100%" frameborder="0" allowfullscreen></iframe>
</body>
…その上に。これ以上何もない。なぜ私は持っているのunsafe javascript attempt here
ですか?
それに関するアイデアはありますか?前もって感謝します。
更新:ええと、これは Youtube と Vimeo の埋め込みプレーヤーでも同様に発生することを認識しました。Chrome コンソールを使用していますが、Youtube と Vimeo で同じエラーが発生します。