Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Cross-Origin Request Blocked" with oEmbed?

As of today, when I try to embed a sound with SoundCloud oEmbed I get the following Javascript error:

Cross-Origin Request Blocked

Is this something I can fix on my server side or is this an issue which came up on SoundCloud's side?

like image 562
Dean Avatar asked Sep 22 '14 21:09

Dean


1 Answers

I found the issue. SoundCloud must have accidentally updated their oEmbed URL. Their oembed API URL is now http://soundcloud.com/oembed instead of http://soundcloud.com/oembed.json. The SoundCloud Javascript SDK still uses soundcloud.com/oembed.json (now a 404 page) for its oEmbed function.

It's probably a mistake that was made while updating their server configuration/security and we can only hope they fix this as soon as possible.

like image 188
Dean Avatar answered Sep 23 '22 19:09

Dean