Commit 5c06012407339e4bb030bf88dabb17cb3962c60d

Authored by fengwotao
1 parent d0a3430d

fix: 修复mp端,摄像头点击播放,无法退出全屏问题

@@ -135,9 +135,9 @@ @@ -135,9 +135,9 @@
135 //播放视频 135 //播放视频
136 async playVideo(e) { 136 async playVideo(e) {
137 const {currentTarget: {dataset: {accessmode,id}} = {}} = e 137 const {currentTarget: {dataset: {accessmode,id}} = {}} = e
138 - let currentId = 'video' + id;  
139 - const videoContext = uni.createVideoContext(currentId, this);  
140 - videoContext.play() 138 + // let currentId = 'video' + id;
  139 + // const videoContext = uni.createVideoContext(currentId, this);
  140 + // videoContext.play()
141 /** 141 /**
142 * 点击全屏播放当前视频,暂停其余视频 142 * 点击全屏播放当前视频,暂停其余视频
143 * 兼容APP和MP端 143 * 兼容APP和MP端