2012-04-29 91 views
0

當圖像的位置是外部URL時,如何使用SC.recordUpload函數上載跟蹤圖稿?Soundcloud API - 使用SC.recordupload從外部URL上傳圖像,使用SC.recordupload

我的錯誤代碼:

imageObj = new Image(); 
imageObj.src = "http://maps.googleapis.com/maps/api/staticmap?center=51.4993603,-0.1074693&zoom=12&size=200x200&maptype=roadmap&sensor=false"; 

....(connection code and track recording).... 

SC.recordUpload({ 
    track: { 
     title: "New track", 
     description: "Track description", 
     sharing: "public", 
     artwork_data: imageObj 
     } 
    }, function(track){ 
     //Track uploaded! 
     $("#uploadStatus").html("Track uploaded!"); 

回答

0

目前的SoundCloud JS SDK可惜不支持藝術品上傳。

對不起。

+0

那麼python SDK呢?看起來它也不工作 – Strae 2012-05-28 11:03:47