暂停 innerAudioContext.pause() 后,真机( iOS)会同时调用 innerAudioContext.onEnded() 方法。再次播放,音频重新开始,而不是从暂停时间继续。
开发工具不会出现这种问题。
网友回复
社区技术运营专员-horan:
请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
暂停 innerAudioContext.pause() 后,真机( iOS)会同时调用 innerAudioContext.onEnded() 方法。再次播放,音频重新开始,而不是从暂停时间继续。
开发工具不会出现这种问题。
请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。