wx.createInnerAudioContext创建的市里,播放没有声音
在开发者工具里面正常播放,手机里面播放不了。
代码片段如下:
this.audioCtx = wx.createInnerAudioContext();
this.audioCtx.src = 'https://app-img.zuoshouyisheng.com/fe9fcf45e091bc6886a56b10ea5e4fb1.m4a';
this.audioCtx.play();
在开发者工具里面正常播放,手机里面播放不了。
代码片段如下:
this.audioCtx = wx.createInnerAudioContext();
this.audioCtx.src = 'https://app-img.zuoshouyisheng.com/fe9fcf45e091bc6886a56b10ea5e4fb1.m4a';
this.audioCtx.play();