当图像的位置是外部网址时,如何使用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 :(得分:0)
目前,SoundCloud JS SDK不支持艺术品上传。
很抱歉。