As discussed here the user experience of the Soundcloud embedded player is really poor on mobile devices (for those who don't have or don't want the app), because it requires a) a very precise tap with finger on the small "Listen in browser" b) one more tap to pause because autoplay doesn't work correctly on some devices, c) one tap to play:
Question: is there a way to make a page loaded inside an <iframe>
"think" the device is not a mobile phone?
I'm looking for a technique that doesn't require to install a browser add-on to fake the user agent, because I can't ask every visitor of my website to install such a browser extension.
Is there a solution like this:
<html>
<body>
<script>
// Fake user agent for the next iframe
// No no, we're not on a mobile device ;)
</script>
<iframe width="100%" height="166" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/271188615&color=ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false"></iframe>
</body>
</html>