We moved this page to our Documentation Portal. You can find the latest updates here. |
Question
How can I configure SWF/Flash files to load via OnApp CDN?
Environment
CDN
Answer
SWF/Flash file might not be loaded properly via a CDN network because flash checks permission to secure content is being loaded by swfs originating from other domains. To resolve this, a crossdomain.xml is required on the origin server.
For a comprehensive reference to crossdomain.xml, please refer tohttp://kb2.adobe.com/cps/142/tn_14213.html
The simplest solution is to create a default allow rule, as below:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>