2014-12-02 58 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

相關問題