ios微信小程序wx.createInnerAudioContext音频播放bug?
wx.createInnerAudioContext 环境信息: 微信版本:8.0.29 基础库:2.30.0 iPhone7,系统版本:12.2 在ios上执行innerAudioContext.play();播放音频就会报错:eval script evaluate_id #26 failed TypeError: Cannot read property 'setValidInit' of undefined 注:在安卓上相同的代码能正常播放 const app = getApp() Page({ data: { innerAudioContext: null }, onLoad() { this.innerAudioContext = wx.createInnerAudioContext({ useWebAudioImplement: false }); this.innerAudioContext.src = 'https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-hello-uniapp/2cc220e0-c27a-11ea-9dfb-6da8e309e0d8.mp3'; }, playAudio() { console.log('播放'); this.innerAudioContext.play(); }, pauseAudio(){ console.log('暂停'); this.innerAudioContext.pause(); } }) 播放或暂停就会报错: [图片]https://developers.weixin.qq.com/s/HGc4yVmC7zFJ