阿里云播放器重写....未完成

This commit is contained in:
@fawn-nine
2024-08-02 16:26:50 +08:00
parent 7ee7b52c93
commit f726ecf29a
3 changed files with 28 additions and 10 deletions

View File

@@ -280,14 +280,16 @@ export default {
});
},
changeVideo(data) {
console.log("data at line 370:", data);
console.log("data at line 370:", data);
if (data.id != this.currentVideo.id) {
// handleEnd
this.$refs.commonVideo.handleEnd();
// this.$refs.commonVideo.handleEnd();
setTimeout(() => {
this.currentVideo = data;
this.initVideo();
this.$refs.commonVideo.changeVideo();
// this.changeVideo()
// this.initVideo();
this.isOpenMp3 = false;
}, 500);
} else {
@@ -296,7 +298,7 @@ export default {
this.isOpenMp3 = false;
}
console.log("data at line 380111111111111111111:", data.type);
// console.log("data at line 380111111111111111111:", data.type);
},
hancleModalCancel() {
this.show = false;