复现了同样的问题
iOS真机InnerAudioContext更换src后不触发onCanplay事件?init(options) { this.InnerAudioContext.stop(); let { elem } = options; this.InnerAudioContext.offEnded(); this.InnerAudioContext.offCanplay(); this.InnerAudioContext.offTimeUpdate(); this.InnerAudioContext.src = elem.src; if (elem.currentTime != '00:00') { let splitArr = elem.currentTime.split(':'); let seekCount = Number(splitArr[0]) * 60 + Number(splitArr[1]); this.seek(seekCount); } this.InnerAudioContext.onCanplay(() => { //二次执行init方法,改变src, onCanplay事件不触发, ios真机 iPhoneX 14.4.2 console.log(this.InnerAudioContext.paused); // typeof options.success === 'function' && options.success(); EventBus.emit('onSuccess', elem); }); }
2022-03-152.22.1打开后提示页面不存在[图片] 切换基础为2.22.0能正常进入[图片] appId: wx1fbbaa6654693d53[图片]
基础库2.22.1升级导致URL Scheme 地址页面打不开appId: wx1fbbaa6654693d53 URL Scheme:weixin://dl/business/?t=BulaDXU1G4m 老的版本都能打开,只有最新基础库2.22.1打不开
2022-03-11