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:
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:
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.