This is my code:
SC.recordUpload({ track: {
title: "Untitled Recording",
sharing: "public"
}
}, function(track){
SC.oEmbed(track.permalink_url, {auto_play: true}, function(oembed){ console.log("oEmbed response: ", oembed); });
});
});
And the response is "The requested URL responded with HTTP code 404". But its working properly if i insert the url directly. Is there something i miss ?
Best answer by Mathis
Hi there,
Hmm, this looks like a custom embed - I'm afraid I won't be able to assist with this in particular. Embedding tracks from SoundCloud on your website is a feature that we offer actually, and it is pretty straight forward. Everything you need to know can be reviewed in this article on our Help Center:
http://help.soundcloud.com/customer/portal/articles/1428418-what-are-the-differences-between-the-emb...
I believe you were trying to work with our public API here, correct? SoundCloud does not have a dedicated API support team at this time. Our customer support team is focused on providing account-related support. That being said; If you are looking for help in building an application on top of SoundCloud’s API, I would recommend looking through SoundCloud’s stackoverflow page (http://stackoverflow.com/tags/soundcloud), and reviewing our developer website (https://developers.soundcloud.com/). These are the support resources we have in place for app developers. If you have a question about acceptable commercial use of SoundCloud’s API, then we would please ask you to refer to the following section of our API terms of use (https://developers.soundcloud.com/docs/api/terms-of-use#commercial). Any application reported to us which violates the API terms of use will have their access to the SoundCloud API permanently revoked.
Hope this helps!
Cheers
Mathis
View original
Hmm, this looks like a custom embed - I'm afraid I won't be able to assist with this in particular. Embedding tracks from SoundCloud on your website is a feature that we offer actually, and it is pretty straight forward. Everything you need to know can be reviewed in this article on our Help Center:
http://help.soundcloud.com/customer/portal/articles/1428418-what-are-the-differences-between-the-emb...
I believe you were trying to work with our public API here, correct? SoundCloud does not have a dedicated API support team at this time. Our customer support team is focused on providing account-related support. That being said; If you are looking for help in building an application on top of SoundCloud’s API, I would recommend looking through SoundCloud’s stackoverflow page (http://stackoverflow.com/tags/soundcloud), and reviewing our developer website (https://developers.soundcloud.com/). These are the support resources we have in place for app developers. If you have a question about acceptable commercial use of SoundCloud’s API, then we would please ask you to refer to the following section of our API terms of use (https://developers.soundcloud.com/docs/api/terms-of-use#commercial). Any application reported to us which violates the API terms of use will have their access to the SoundCloud API permanently revoked.
Hope this helps!
Cheers
Mathis