playVideo(index){
let currentIndex = 'video' + index;
if(this.oldIndex!=currentIndex){
uni.createVideoContext(this.oldIndex, this).pause();
uni.createVideoContext(currentIndex, this).play();
this.oldIndex = currentIndex
}
},
4***@qq.com
- 发布:2024-05-14 10:08
- 更新:2024-05-14 10:08
- 阅读:143
小程序video视频播放,开发环境视频链接地址为ip开头,打开页面ios闪退,安卓正常;当视频链接地址为https开头ios,安卓打开页面都正常
分类:uni-app
0 个回复