Topic: non flash version don't work for me

Hello,

I try to use SimpleViewer 2.1.2 on my own website.
The flash version works fine, but I have some problems with the non flash version :-(

The console output from the Chromium Developer Tools console is:
XMLHttpRequest cannot load http://media.domain.com/uploads/gallery.xml. Origin http://www.domain.com is not allowed by Access-Control-Allow-Origin.

I'm using Django for my website and there it is recommend to use an extra URL for the static files. Loading static files through the framework is slow and so you have to configure another URL which handles static files through apache/nginx or another web server.

But it seems that the non flash version have problems with different domains. Would be nice to allow different URLs (subdomains) as far as they are from the same domain

What do you think? Or is there another solution to that problem?

Re: non flash version don't work for me

Usually the issue with loading files from different domains/subdomains is with the flash version, not the nonflash version and requires a crossdomain.xml to fix it... Do you have hotlinking/image protection to turned on for your site?

I'm using Django for my website and there it is recommend to use an extra URL for the static files. Loading static files through the framework is slow and so you have to configure another URL which handles static files through apache/nginx or another web server.

Shouldn't you be able to call files through the www subdomain without going through Django?

Mike Richards
SimpleViewer Support Team.