2014-12-02 138 views
1

在Android设备上使用soundcloud oembed小部件在http://soundcloud.com/oembed.json?auto_play=true&maxheight=166&url=表单中的URL将重定向到http://m.soundcloud.com/oembed.json?auto_play=true&maxheight=166&url= ....与http://soundcloud.com/oembed.json响应不同,m.soundcloud.com响应不会包括下面的头:Soundcloud oembed无法在移动设备上工作

Access-Control-Allow-Origin:* 

这导致错误,如以下:

XMLHttpRequest cannot load http://soundcloud.com/oembed.json?auto_play=true&maxheight=166&url=https%3A%2F%2Fsoundcloud.com%2Fplasticworld%2Fsavoir-eternal. The request was redirected to 'http://m.soundcloud.com/oembed.json?auto_play=true&maxheight=166&url=https%3A%2F%2Fsoundcloud.com%2Fplasticworld%2Fsavoir-eternal', which is disallowed for cross-origin requests that require preflight. 

最终这导致的透过oEmbed失败。

请问可以看一下吗?

感谢, 西蒙

回答

1

这应该是现在固定。感谢您的报告。 Arbo

相关问题