-
Posted in : BookCard WP
-
Hello,
Ive been attempting to embed sound cloud but each attempt has been unsuccessful. I have used the short code provided, used the sound cloud embed as well as the url each attempt was unsuccessful. Any help would be much appreciated.Thanks
Try this:
[pf_lightbox_audio title="Soundcloud embed" url="http://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F207988&"]
Note: Select Lightbox Audio from the Details box.
Thanks for the replay. I tried that and its giving me “401-Unauthorized”.
Right, which I am. Under portfolio/add new. Even after copying and pasting your link to see if it would work, I got the same 401-unauthorized.
Here is my usage on the demo site.
See in the image:

That worked. Are you using the direct URL or embed because this is what my links look like and they are not working.
Embed
WordPress
[soundcloud url=”https://api.soundcloud.com/tracks/113143465?secret_token=s-BSN5Q” params=”color=ff6600&auto_play=false&show_artwork=true” width=”100%” height=”166″ iframe=”true” /]Are you using the Embed, WordPress or direct Url? Ive attempted all 3 and nothing will work but for some reason, you link posted above worked perfectly.
In this theme, there is no that shortcode you wrote above: [soundcloud]
Yes I know. I was showing the difference between my embed and yours. Are you using the Embed , wordpress or URL link?
Ive used all 3 and nothing has worked. for example
[pf_lightbox_audio title=”Soundcloud embed” url=”https://soundcloud.com/beatsbyone/smokin-purple”%5D
[pf_lightbox_audio title=”Soundcloud embed” url=”https://api.soundcloud.com/tracks/117808324?secret_token=s-cZYV7″ params=”color=ff6600&auto_play=false&show_artwork=true” width=”100%” height=”166″ iframe=”true”]
Hi, you need to copy the
srcattribute in the embed code.– Click “Share” on an item on soundcloud
– Navigate to “Embed” tab
– Copy the value of the “src” attiribute in the “Embed Code” field.
– Paste it to the url attribute in the shortcode;[pf_lightbox_audio title="Soundcloud embed" url="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/62549783&color=ff6600&auto_play=false&show_artwork=true"]
Thank you Ahmetsali!! That worked. Thank you as well for you help Mehmet!
You must be logged in and have valid license to reply to this topic.