蔡cai
蔡cai
  • 发布:2024-01-02 11:50
  • 更新:2024-01-02 11:50
  • 阅读:88

解决ios端video,seek定位到之前位置,显示播放的进度为00:00

分类:uni-app

来源:https://ask.dcloud.net.cn/question/80013的“CLP”的评论
seek api 只有播放时才会更改视频轴的位置。

this.videoContext = uni.createVideoContext('myVideo', this);  
this.videoContext.play();  
this.videoContext.seek(10);  
this.videoContext.pause();
0 关注 分享

要回复文章请先登录注册