Commit ee4cf1e2 by 李伟康

提交代码

1 parent 233046cf
......@@ -280,7 +280,9 @@ export default {
/**安卓退出全屏 */
document.addEventListener('webkitfullscreenchange', () => {
if (!document.webkitIsFullScreen && data.activityMusic) {
let { currentVideoIndex } = this
this.audioAutoPlay()
this.$refs[`video-${currentVideoIndex}`][0].pause()
}
})
}
......@@ -362,6 +364,7 @@ export default {
video.controls = false
video.addEventListener('webkitendfullscreen', () => {
if (audioFlag) this.audioAutoPlay()
video.pause()
video.removeEventListener('webkitendfullscreen')
})
if (ISMOBILE) this.showLoading('准备中...')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!