react-soundcloud-widget icon indicating copy to clipboard operation
react-soundcloud-widget copied to clipboard

Empty URLs are dumped to browser console

Open kirill-konshin opened this issue 8 years ago • 2 comments

This line https://github.com/troybetz/react-soundcloud-widget/blob/master/src/SoundCloud.js#L119 is causing lots of 404 errors to be dumped to console:

src="https://w.soundcloud.com/player/?url="

You need to open IFRAME with some other URL that is more safe.

kirill-konshin avatar Apr 12 '17 16:04 kirill-konshin

Hey Kirill, were you able to find a workaround here? It works for one track, but when I add a couple of tracks, the rest of them don't render and throw empty urls and 404s.

strachsel avatar May 15 '17 21:05 strachsel

Nope. I ended up dropping the widget, I now just add an IFRAME because I don't need to track play/pause statuses or integrate in any other way.

kirill-konshin avatar May 15 '17 22:05 kirill-konshin