ToneDen / Player

A pure JS customizable audio player for SoundCloud.
toneden.io/player
MIT License
529 stars 77 forks source link

Same-origin-policy // CORS issue with Soundcloud Resolve API? (FF) #46

Closed fspoettel closed 9 years ago

fspoettel commented 9 years ago

I'm hitting Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://api.soundcloud.com/resolve?url=http://soundcloud.com/giraffage&format=json&consumer_key=xxx. (Reason: CORS header 'Access-Control-Allow-Origin' missing). on a live site as well as localhost in Firefox 38. Any idea what could be wrong? Hitting a brick wall here, your demo page seems to work fine.

elsbree commented 9 years ago

I did notice that a new version of Chrome was causing trouble, showing CORS errors when we were trying to set up the visualizer. I took out the visualizer from the player and I haven't seen the issue since. Are you using a self-hosted version of the player?