0

当图像的位置是外部 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!");
4

1 回答 1

0

目前 SoundCloud JS SDK 很遗憾不支持艺术品上传。

对于那个很抱歉。

于 2012-04-30T10:10:36.240 回答