michaelbromley / soundcloud-visualizer

Audio visualization with web audio API, canvas & the SoundCloud API
http://www.michaelbromley.co.uk/experiments/soundcloud-vis/
MIT License
450 stars 114 forks source link

Not playing on Chrome #4

Open xenyal opened 9 years ago

xenyal commented 9 years ago

Pasted the following link onto the input form (https://soundcloud.com/hotelgarudamusic/rhythm-of-the-night-hotel), clicked play and the audio player successfully loads the associated song info / artwork into #trackInfoPanel, however the audio fails to load.

michaelbromley commented 9 years ago

Yeah, I think it is related to this: https://github.com/michaelbromley/soundcloud-visualizer/issues/3#issuecomment-110434827

Basically SoundCloud's CDNs are not all configured correctly to allow cross-origin resource sharing. It's a known issue.

surayashivji commented 8 years ago

Are there any solutions for this?

surayashivji commented 8 years ago

It works when I go to your Demo URL but not when I run it locally -- any idea why?

michaelbromley commented 8 years ago

When you are running it locally, are you running a local web server, or just opening the file in the browser?

pedropcamellon commented 2 years ago

I'm running a server. Exactly Live Server in Vs Code. I tried registering a new app because I meed client ID I guess but SoundCloud is not accepting new requests. Anyone can share its ID?