Commit 60cb472676e2f9f0be69c7adcd7029be07c17fe3
Merge branch 'fix_camera_issure' into 'main_dev'
fix: 修复移动端,摄像头点击播放,无法退出全屏问题 See merge request yunteng/thingskit-app!133
Showing
1 changed file
with
3 additions
and
3 deletions
| @@ -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端 |