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(() => {
console.log(this.InnerAudioContext.paused);
EventBus.emit('onSuccess', elem);
});
}
大佬有解决吗
复现了同样的问题
你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)