wx.playVoice({
filePath: that.data.http + FilePath,
success: function () {
console.log( '播放錄音' )
},
fail: function () {
console.log( '播放失敗' )
}
});
一直走fail
網(wǎng)友回復(fù):
先調(diào)用 downloadFile ,拿到 tempFilePath ,再用這個(gè) tempFilePath 去播放
先下載,在拿得到的地址去播放,確實(shí)走了success,但是完全沒(méi)有聲音啊,怎么破