Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get proper soundcloud url for embedding from a standard url?

So right now I can grab the url from already embedded soundcloud files in embed or iframe tags and use those urls on another page and display it in fancybox. Is there a way to get the right url or display in fancybox if a user offers a typical share url such as http://soundcloud.com/song-b/song-please or http://snd.sc/yp6VMo? I tried looking at the api documentation but I couldn't really find what I was looking for.

like image 730
qitch Avatar asked Mar 11 '12 09:03

qitch


People also ask

How do I link SoundCloud to my website?

To embed your track or playlist, go to the 'Share' button below its waveform. From here you can check out a preview of what your Visual player will look like, and copy the embed code to paste into your blog or website.

Can you embed a private SoundCloud link?

In the Share menu click the Message tab, select who you want to send the message to, and hit send. To generate a private embed code that can be exclusive to any webpage, click Share on any private track or playlist. The track will be private on SoundCloud and only visible via the private embed.


1 Answers

you can try this for song url not for the id of song url

    <iframe width="100%" height="166" scrolling="no" frameborder="no"src="http://w.soundcloud.com/player/?url=http://api.soundcloud.com/elissafranceschi/war&auto_play=false&color=915f33&theme_color=00FF00"></iframe>
like image 155
Ismail Abu Ali Avatar answered Sep 27 '22 19:09

Ismail Abu Ali