简体   繁体   中英

“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?

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.

Indeed it was a bad routing change. Apologies for the interruption! Fix is now live.

该问题似乎已经解决(2014年9月23日,欧洲中部时间下午3点)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM