I have a simple html site with an embedded Flash file and it uses SWFobject.
This site is an src iframe. If I open a site with an iframe on it, the console will tell me ...
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
I wonder what parent window (with iframe in it) is associated with swfobjet inside iframe? So, as mentioned above, swfobject is used to embed flash memory on a child page loaded in an iframe. The iframe-test/index.html
website only has ...
<body> <iframe src="http://localhost.lan/embed/GYZA" width="100%" height="100%" frameborder="0" allowfullscreen></iframe> </body>
... On him. Nothing more. Why do I have unsafe javascript attempt here
?
Any ideas on this? Thank you in advance.
update: Well, I just found out that this is happening with Youtube and Vimeo, as well as for their built-in players. I use a chrome console, and the same error occurs for Youtube and Vimeo.
source share