Fix:2959 【商城小程序】先播放古镇活动版块视频,再播放主图视频,活动版块视频不会暂停
This commit is contained in:
@@ -108,6 +108,12 @@ export default {
|
||||
playerCtx.pause()
|
||||
})
|
||||
},
|
||||
handlePlayer() {
|
||||
this.videoPlayers.forEach(player => {
|
||||
const playerCtx = uni.createVideoContext(player, this)
|
||||
playerCtx.pause()
|
||||
})
|
||||
},
|
||||
infoItemViewClick(item, index) {
|
||||
if(item.contentType === 2) {
|
||||
// const coverCtx = uni.createVideoContext('coverVideo', this)
|
||||
|
||||
Reference in New Issue
Block a user