Soundcloud oembed not working on mobile devices -


when using soundcloud oembed widget on android devices urls of form http://soundcloud.com/oembed.json?auto_play=true&maxheight=166&url=... getting redirected http://m.soundcloud.com/oembed.json?auto_play=true&maxheight=166&url=.... unlike http://soundcloud.com/oembed.json responses, m.soundcloud.com responses not include following header:

access-control-allow-origin:* 

this causes errors such following:

xmlhttprequest cannot load http://soundcloud.com/oembed.json?auto_play=true&maxheight=166&url=https%3a%2f%2fsoundcloud.com%2fplasticworld%2fsavoir-eternal. request redirected 'http://m.soundcloud.com/oembed.json?auto_play=true&maxheight=166&url=https%3a%2f%2fsoundcloud.com%2fplasticworld%2fsavoir-eternal', disallowed cross-origin requests require preflight. 

ultimately leads oembed fail.

is possible this, please?

thanks, simon

this should fixed now. report. arbo


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -