Commit 05d78a2251e5f1330f94655aee5c5fc31183065b
Merge branch 'cherry-pick-5c060124' into 'main'
fix: 修复mp端,摄像头点击播放,无法退出全屏问题 See merge request yunteng/thingskit-app!134
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端 |