video组件 play pause 无效?

发布于 8 年前作者 liangjing1759 次浏览最后编辑 8 年前来自 ask
vide let index = e.target.current;  
          this.videoCur = index;
          let newVideo = uni.createVideoContext(String(index));  
          if (this.video !== newVideo) {  
              newVideo.play();  
             this.video.pause();  
         }  
          this.video = newVideo;
o自定义组件之后 视频播放 获取到实例 但是play pause 方法 都无效
1 回复
sunping
sunping1 楼6 年前

麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html