web 下载的音频文件 保存在什么位置?
代码是 这样的:
var urls="http://demo.dcloud.net.cn/helloh5/uploader/files/"+fs['uploadkey'].name;
/*alert(t['responseText']['files']);
/*alert(t['responseText']['files']['uploadkey']['name']);*/
var options = { url: urls };
options.onFileDownloadComplete = function ( response ) {
//音频下载成功
alert("成功 ");
};
options.onFileDownloadError = function () {
//音频下载失败
alert("失败");
};
//通知服务器将音频转为mp3
options.headers = {
'Accept': 'audio/mp3'
};
WebIM.utils.download.call(conn, options);
var urls="http://demo.dcloud.net.cn/helloh5/uploader/files/"+fs['uploadkey'].name;
/*alert(t['responseText']['files']);
/*alert(t['responseText']['files']['uploadkey']['name']);*/
var options = { url: urls };
options.onFileDownloadComplete = function ( response ) {
//音频下载成功
alert("成功 ");
};
options.onFileDownloadError = function () {
//音频下载失败
alert("失败");
};
//通知服务器将音频转为mp3
options.headers = {
'Accept': 'audio/mp3'
};
WebIM.utils.download.call(conn, options);
没有找到相关结果
已邀请:
1 个回复
lizg - ……