soundcloud

SoundCloud Widget API setVolume Method broken?

寵の児 提交于 2019-12-22 10:18:06
问题 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

Soundcloud API Error NS_ERROR_DOM_BAD_URI: Access to restricted URI denied (JavaScript)

空扰寡人 提交于 2019-12-22 01:25:26
问题 I am just getting myself acquainted with Soundcloud's API and I am having some trouble. As far as I can tell, all I need in SC.initialize is a client_id. I have used the tutorials at Code Academy to get started and it was great. Now that I am actually trying to implement something I am running into some trouble. When I ran my code in Code Academy, it did exactly what I wanted it to do. Now that I am trying to run it in a browser, I am getting a blank screen and this error: NS_ERROR_DOM_BAD

SoundCloud API Streaming fail blank page

风流意气都作罢 提交于 2019-12-21 23:06:13
问题 There seems to be a silent fail when trying to stream tracks from an account. Example: API Gee console: https://api.soundcloud.com/tracks/#####.json?consumer_key=### Response: 200 Streamable: true API Console Stream URL: https://api.soundcloud.com/tracks/#####/stream?consumer_key=### 404 not found - (Blank white page no error in browser) Track set to public and API streamable - All tracks on account, which were streaming as normal until the end of last week. The consumer key works for tracks

How to use Oauth properly

纵然是瞬间 提交于 2019-12-21 20:59:05
问题 I haven't made much progress, so rather then look for an answer to the error stated in my original question, I think my problem would best be solved by some overall instructions on how to use Oauth properly. Please look below to question reformulated. ORIGINAL QUESTION I'm using the cocoa-wrapper api for soundcloud on my iPhone app. I'm trying to post with the code below, but get an error 422. I believe it has to do with the string @"x-myapplicationurlscheme://connect" , but the url's given

Search by geo filter with soundcloud api

ε祈祈猫儿з 提交于 2019-12-21 18:04:32
问题 When attempting to search for tracks based on 'geo' filter I always get back zero results. According to the documentation you can use ***** as a wildcard to search lat/lon ranges that exist in the 'tag-list' of each track in the server response. And we use the 'tags' filter when issuing our POST request. For example HttpResponse response = api.get("/tracks?tags=geo:lat%3D52.0*", null); returns zero results. I have also tried omitting the 'geo:' namespace reference, tried all sorts of

Specify starting time of track within URL for SoundCloud?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-21 06:47:17
问题 Anyone know if there's a way to generate URL's for SoundCloud tracks that specify a start time for the song? I'm looking for a way to force playback of streams at a certain time in the stream without having to do any processing on my end via the API. 回答1: As @bsz correctly noticed, we have released a way of specifying start time on the sound when linking to it, append #t=12s to the sound's URL to start it at 12th second, etc. If the audio is long enough, you can use (e.g.) #t=2h10m12s . 回答2:

SoundCloud, download or stream file via api

…衆ロ難τιáo~ 提交于 2019-12-21 02:50:07
问题 I try to use download_url to get file from soundcloud. I either get 'redirected' or '401 unauthorized', how can I download/stream it to client side? thanks 回答1: If you are getting a 401 response, then you should include your client_id in the request. It might also be that it's a private sound, in which case, you'd also have to include the oauth credentials. The actual success response is a redirect, since the stream files are accessible from a different server, but only with special time

Tracks for “The Hives” are not streaming via the api

空扰寡人 提交于 2019-12-21 02:27:08
问题 Tracks for "The Hives" claims to be streamable, but are returning 404s. Here's the JSON response for Civilization's Dying id 3644317 (http://api.soundcloud.com/tracks/3644317.json?client_id=): { "kind": "track", "id": 3644317, … "sharing": "public", "streamable": true, "embeddable_by": "all", "downloadable": false, "title": "Civilization's Dying", … "stream_url": "http://api.soundcloud.com/tracks/3644317/stream" } the streamable is true and it gives a stream_url, when trying to access it with

How to get thumbnail of SoundCloud using API?

落爺英雄遲暮 提交于 2019-12-20 12:40:43
问题 For example: http://soundcloud.com/mhiqu3/sets/heretik/ How to get the thumbnail url: http://i1.sndcdn.com/artworks-000004897289-5r6ws9-large.jpg?1767646 with the api (or without) ? 回答1: You can use the /tracks endpoint, and read the artwork_url property from the returned JSON. More details: http://developers.soundcloud.com/docs/api/tracks 回答2: I know this is quite old, but I stumbled in this question looking for something else and I'd like to give my two cents. These are all possible sizes

How to use Soundcloud api to get stream into html5 audio player?

蓝咒 提交于 2019-12-20 09:56:01
问题 I've just started learning javascript and as my first attempt I'd like to create custom audio player which uses soundcloud's api as a source for music. So far this is what I got set up: <!DOCTYPE html> <html> <head> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script src="http://connect.soundcloud.com/sdk.js"></script> <script> window.onload = function() { SC.initialize({ client_id: '10e27db0dacd00954d7160b4c092a6e2' //Demo ID }); SC.stream("/tracks