InnerAudioContext 的onTimeUpdate方法必须先调用onPlay或者其他方法才有效。
非常神奇。
暂时应该是某个小问题吧。。
安卓不会触发这个onTimeUpdate你有遇到吗
我也遇到了
你好,方便给个相关的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html),我们定位下问题?
this.page.currentAudio.onPlay(function () { console.log(“on audio play”) });
this.page.currentAudio.onTimeUpdate((function () { console.log(“on time update”) }))
这个是可以执行的
假如把上面注释掉
onTimeUpdate就没有任何效果。算bug吧