I've got the plug in working unless I change the window.location url as suggested in the commented code - and as I would prefer to do.
Changing either one or both blueimp.github.com or blueimp.github.io to the desired domain lets the progress bar run and suggests success, but nothing ever uploads.
I'm changing them to a valid url of the site and server that's running it using blueimp, yet it fails.
Starting with this:
// Change this to the location of your server-side upload handler:
var url = (window.location.hostname === 'blueimp.github.com' ||
window.location.hostname === 'blueimp.github.io') ?
'//jquery-file-upload.appspot.com/' : 'server/php/';
and changing to this:
// Change this to the location of your server-side upload handler:
var url = (window.location.hostname === 'otherdomain.com' ||
window.location.hostname === 'otherdomain.com') ?
'//jquery-file-upload.appspot.com/' : 'server/php/';
What am I doing wrong here?
Thanks in advance for any help.