在Android设备上使用soundcloud oembed小部件时http://soundcloud.com/oembed.json?auto_play=true&maxheight=166&url=形式的网址被重定向到http://m.soundcloud.com/oembed.json?auto_play=true&maxheight=166&url= ....与http://soundcloud.com/oembed.json响应不同,m.soundcloud .com响应不包括以下标题:
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失败。
请问这个可以吗?
谢谢, 西蒙
答案 0 :(得分:2)
现在应该修复。谢谢你的报道。 ARBO