望书
望书
  • 发布:2020-05-22 22:09
  • 更新:2020-10-12 09:06
  • 阅读:1142

音频播放createInnerAudioContext(),H5端在IOS(微信环境)中seek方法无效,安卓H5,小程序IOS安卓都有效

分类:HBuilderX
innerAudioContext.play()  
//swiper跟随音频流切换  
innerAudioContext.onTimeUpdate(() => {  
    this.swiper.forEach((e,index)=>{  
         if( innerAudioContext.currentTime > e.second){  
                 this.current= index  
          }  
    })  
});       
innerAudioContext.seek(time); 

time为传递过来的需要切换到的时间点,在chrome中、安卓、小程序(IOS/安卓端)测试有效
但就在IOS的H5端(微信环境)每次都会从开始位置播放,请问这是uni-app的BUG,还是我的BUG?

2020-05-22 22:09 负责人:无 分享
已邀请:
春风拂过

春风拂过

大神你这个问题解决了吗?我也有这个问题,好像H5端在IOS下seek方法有bug

该问题目前已经被锁定, 无法添加新回复