InnerAudioContext实例 startTime 和 seek() 设置无效如何解决?
发布于 6 年前 作者 wcai 869 次浏览 来自 官方Issues

我创建InnerAudioContext并且调用seek()方法跳转到指定时间播放,然而音频依然从头开始播放,请问如何解决,设置startTime也是同样的问题。

3 回复

遇到同样的问题,开发工具和真机都不能跳转

基础库版本:2.8.3

监听的事件没有收到消息

innerAudioContext.onSeeking(function() {
            console.log('onSeeking')
        })
 
        innerAudioContext.onSeeked(function() {
            console.log('onSeeked')
        })
console.log(seektime)
 
innerAudioContext.seek(seektime);

开发者工具为最新版本

谢邀,麻烦看下是哪个版本的基础库

回到顶部