Hi,
I'm attempting to host my pano images on a content delivery network, specifically Rackspace Cloudfiles, which is on a different domain to where krpano is hosted. I get this error in krpano player for each of the images:
ERROR: Security Error - "http://cxxxxx.cdn.cloudfiles.rackspacecloud.com/filename.jpg"
My XML looks like this:
<image type="CUBE" multires="true" tilesize="579">
<level tiledimagewidth="3183" tiledimageheight="3183">
<left url="http://cxxxxx.cdn.cloudfiles.rackspacecloud.com/l3_l_%0v_%0h.jpg" />
<front url="http://cxxxxx.cdn.cloudfiles.rackspacecloud.com/l3_f_%0v_%0h.jpg" />
etc.
I thought it may be a cross-domain problem so I added this to my XML:
That didn't fix the problem, so I tried this:
...with this in the crossdomain.xml file:
<?xml version="1.0"?>
<cross-domain-policy xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.adobe.com/xml/schemas/PolicyFile.xsd">
<allow-access-from domain="*"/>
</cross-domain-policy>
...no joy.
I'm confused about where the crossdomain.xml is supposed to go. Some threads in the forum say "on the other server" some say "root of your server". I've tried both, but the problem persists.
Has anyone attempted a similar thing with a CDN, perhaps Amazon S3 or similar?
Any suggestions much appreciated.
Thanks,
Andrew