bf
This commit is contained in:
parent
5e9243c9cb
commit
ce4eab0290
@ -137,12 +137,14 @@
|
|||||||
let currentVideo = self.$refs.video[self.currentPlayIndex];
|
let currentVideo = self.$refs.video[self.currentPlayIndex];
|
||||||
currentVideo.pause();
|
currentVideo.pause();
|
||||||
self.isPlaying = false;
|
self.isPlaying = false;
|
||||||
}else {
|
|
||||||
let currentVideo = self.$refs.video[self.currentPlayIndex];
|
|
||||||
currentVideo.play();
|
|
||||||
self.isPlaying = true;
|
|
||||||
}
|
}
|
||||||
|
if (this.activeIndex == 0 ) {
|
||||||
|
if (!self.isPlaying){
|
||||||
|
let currentVideo = self.$refs.video[self.currentPlayIndex];
|
||||||
|
currentVideo.play();
|
||||||
|
self.isPlaying = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user