Hi,
I was trying Aviary Web API, everything was working correctly in my localhost, then I deployed to the site and when the aviary popup is loaded I have the following error:
Unable to get image data from canvas because the canvas has been tainted by cross-origin data.
Uncaught Error: SECURITY_ERR: DOM Exception 18
I googled a lot and could find anything that solves this, any suggestions? Or maybe I'm doing something wrong, thanks in advance. The code I'm using is:
<script type="text/javascript" src="http://feather.aviary.com/js/feather.js"></script>
<!-- Instantiate Feather -->
<script type="text/javascript">
	var featherEditor = new Aviary.Feather({
	    apiKey: 'e22fb5fb3',
	    apiVersion: 2,
	    tools: 'all',
	    appendTo: '',
	    onSave: function(imageID, newURL) {
			//code
	    }
	});
	function launchEditor(id, src) {
		var conf = { image: id};
		if(src != '') conf.url = src;
	    featherEditor.launch(conf);
	    return false;
	}
</script>
 
Other thing If I set a valid url un the conf.url and launch the editor a loading gif image appears on the image and never quits and I can't use aviary :S
Thanks