mardi 28 février 2017

swf try to load crossdomain.xml from the other site when is embed directly in that site

i have a basic .swf movie and is hosted in one subdomain example: http://sub.myexample.com/blog/players/movie.swf

and when i try to embed directly in another website just using the direct url, in firebug inspector i see my movie is searching the crosdomain.xml in the external server and return me 404

the other server only need the full path to my swf movie to generate the html output, no need to make html on my side for my movie

i have this in the top of the code of my movie

Security.allowDomain('*');
Security.loadPolicyFile("http://ift.tt/2lQR8Pr");
Security.loadPolicyFile("http://ift.tt/2lU2lNy");
Security.loadPolicyFile("http://ift.tt/2lQUzpc");

this is the content of my crossdomain.xml and i sthe same in the root of my domain, subdomain and folder of my swf

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://ift.tt/1d1B8yI">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
<allow-access-from domain="*" secure="false"/>
<allow-http-request-headers-from domain="*" headers="*" secure="false"/>
</cross-domain-policy>

any ideas why is happening this? thanks in advance

Aucun commentaire:

Enregistrer un commentaire