0

I have embedded SoundCloud playlist snippet in my PhoneGap application and all I see is a blank space where the player should be.

<iframe width="100%" height="450" scrolling="no" frameborder="no" 
 src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/playlists/12345678&amp;auto_play=false&amp;hide_related=false&amp;show_comments=true&amp;show_user=true&amp;show_reposts=false&amp;visual=true">
</iframe>

Has anyone had success embedding the playlist player in PhoneGap?

Alberto Solano
  • 7,972
  • 3
  • 38
  • 61
Alen Giliana
  • 2,144
  • 3
  • 17
  • 30
  • 1
    i am not a cordova/pg developer, but you have ensured you can access w.soundcloud.com and api.soundcloud.com etc.? http://docs.build.phonegap.com/en_US/configuring_access_elements.md.html – hwsw Aug 11 '15 at 08:13
  • 1
    You need to read the docs. You need to add the [white-list](http://docs.phonegap.com/en/3.3.0/guide_appdev_whitelist_index.md.html#Whitelist%20Guide). Make sure you set the version for your phone-version and the plugins, or you will get the latest version. If you do not set the version, you will need to use the `white-list plugin` too. –  Aug 11 '15 at 10:18

0 Answers0