soundcloud

Soundcloud custom player add and play song dynamically

北战南征 提交于 2019-12-06 04:18:43
问题 I am using soundcloud custom player to create a player which can play all the songs on my site. This works pretty good when i just place static url of any track or a post. But what i want is to add the song to the list dynamically. I have done lots of research but couldn't get it to work. What i want is there would be multiple players through out the site. kind of(http://soundcloud.com) and there would a main player on the top(like soundcloud) which would play around 100 latest songs on site

Soundcloud: How do I know the sound cloud track ID right away after uploading a track?

假装没事ソ 提交于 2019-12-06 03:35:45
问题 http://developers.soundcloud.com/docs/api When I look at the API docs, I see SC.stream("/tracks/293", function(sound){ sound.play(); }); When I look at the track I uploaded, it only provides me the permalink. How do I get the track ID from the website? Do I always have to do a /resolve to get the ID? 回答1: This is probably more manual steps than /resolve, but it is "from the website." The sound id also appears in the embed code when you go to the sound and click "Share". For example, if you go

Soundcloud API mobile OAUTH login using Google+ isn't working on Android

我只是一个虾纸丫 提交于 2019-12-06 02:34:42
I am working on an Android application that uses the mobile SoundCloud web auth page to log in to SoundCloud. The SoundCloud mobile web auth page provides you with three options for logging in, using SoundCloud, Facebook, or Google+. The interface looks like so: So far I can log in using my SoundCloud and my Facebook credentials but I fail when using Google+. Here's an abridged version of what I am doing: public class SoundCloudActivity extends Activity { ... @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.twitter_login

SoundCloud Widget API setVolume Method broken?

空扰寡人 提交于 2019-12-05 22:39:29
I'm successfully using Soundcloud's widget API, except the setVolume() method is broken :( First, I love the widget, but I'm blown away that after all that amazing work there is no volume control available! People will immediately "back button" out of my site when they hear 100% audio and I can't alter it using setVolume()... I have to get it working or pull it :( Here is what is happening, I have an instance named "widget" (which loads and plays well on the page). widget.bind(SC.Widget.Events.READY, function() { $('#audioIndictments').removeClass('remove'); // This disables a CSS rule, making

SoundCloud API gives “Uncaught SyntaxError: Unexpected token : ” error

帅比萌擦擦* 提交于 2019-12-05 22:05:23
In the console it's giving me the error "Uncaught SyntaxError: Unexpected token : ", but if I access direct SoundCloud URL in my browser then it's giving valid JSON. Earlier this code was working fine and today this issue started. <html> <head> <script src="https://api.soundcloud.com/resolve.json?url=https://api.soundcloud.com/tracks/251912676/?secret_token=s-EkyTy&client_id=08f79801a998c381762ec5b15e4914d5"></script> </head> <body> <h2>hellooo</h2> </body> </html> Update: Below is the actual code for which I am asking the question, above html I just created for example. SoundCloud.prototype.

target specifies product type 'com.apple.product-type.framework'

为君一笑 提交于 2019-12-05 20:01:21
I'm trying to use a Soundcloud API wrapper for the iPhone following these instructions and now I'm getting this error: target specifies product type 'com.apple.product-type.framework', but there's no such product type for the 'iphoneos' platform Any ideas on how to solve this? The SoundCloud API has two products: SoundCloudAPI.framework (a framework, for Mac OS X) libSoundCloudAPI.a (a static library, for iOS) If you're building an app for iOS you need to add libSoundCloudAPI.a only as a direct dependency. You've added the framework as a dependency too, which is why you're getting this error.

Get a user's Most Recent SoundCloud Track Links

旧时模样 提交于 2019-12-05 19:18:32
I've been looking for a way to do this for a while because it seems like their should be one. I just want to automatically pull the 5 most recent tracks from my SoundCloud page and put them on my website under a 'Newest Audio' section. SoundCloud even does this themselves. If you go to a specific track, on the right bottom of the page it has a 'More tracks by USERNAME,' take a look: http://soundcloud.com/goldenstatewarriors/mark-jackson-on-the-dan The closest thing I have found is this: http://api.soundcloud.com/tracks?client_id={client_id} But for that you need a client_id, which is for

Soundcloud API SC.stream (track not loading)

六眼飞鱼酱① 提交于 2019-12-05 17:42:05
I'm streaming music from the soundcloud API, and sometimes when I call SC.stream the track does not stream and I get the error: "GET http://api.soundcloud.com/tracks/80608808/stream?client_id=78bfc6a742a617082972ddc5ef20df2a 404 (Not Found)" The GET request works for some tracks and not for others. I cannot figure out why or if there is an issue with the SC API. He is a replication of my problem on plnkr: http://plnkr.co/edit/TMVWGg Thanks! This is because some soundcloud tracks are not streamable via api. You can check this for each track by property "streamable". 来源: https://stackoverflow

Soundcloud OAuth2 API: Getting invalid_scope error after user connection

半世苍凉 提交于 2019-12-05 17:20:45
I'm trying to implement Soundcloud connect and having a weird issue. First thing I do is send my users to https://soundcloud.com/connect?client_id=MY_CLIENT_ID&redirect_uri=http://myredirecturl.example.com&state=RANDOM_STRING&display=page&response_type=code&scope=email When users connect they get redirected to http://myredirecturl.example.com?error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed.&state=RANDOM_STRING The same happens if I use scope=* . However, if I use scope=non-expiring it lets me go through, but I need the users email and that type

Open stream_url of a Soundcloud Track via Client-Side XHR?

 ̄綄美尐妖づ 提交于 2019-12-05 16:22:33
Since you can call the the Soundcloud API via XHR (because of the CORS headers it sends http://backstage.soundcloud.com/2010/08/of-cors-we-do/ , right?) I was wondering if this was possible with the audio data itself, like a tracks' stream_url for example. When trying to open the stream_url with a XHR (from the Client Side) using the Web Audio API, i get a Origin is not allowed by Access-Control-Allow-Origin. error. Is there a way to load Audio resources via XHttpRequest from Client-Side-Javascript, or is it impossible ( https://stackoverflow.com/questions/10871882/audio-data-api-and-streaming