From 4a800a8fc83c6bd1f86a8e847b079a51a7532c09 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期三, 20 七月 2022 15:05:58 +0800 Subject: [PATCH] 修复国标配置的bug --- src/pages/shuohuangMonitorAnalyze/components/aliPlayer/index.vue | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/pages/shuohuangMonitorAnalyze/components/aliPlayer/index.vue b/src/pages/shuohuangMonitorAnalyze/components/aliPlayer/index.vue index 41a9a11..ac57407 100644 --- a/src/pages/shuohuangMonitorAnalyze/components/aliPlayer/index.vue +++ b/src/pages/shuohuangMonitorAnalyze/components/aliPlayer/index.vue @@ -25,6 +25,7 @@ config: { id: null, //鎾斁鍣ㄧ殑ID width: '100%', + height: '100%', autoplay: false, // skinLayout: false, progressMarkers: false, @@ -206,6 +207,7 @@ }, mounted() { this.$nextTick(() => { + // console.log('player marks',this.markers); this.init(); }); }, @@ -253,6 +255,7 @@ scriptTag.addEventListener("load", () => { this.initPlayer(); }); + // return this.getDuration() }, /** @@ -270,7 +273,7 @@ if (this.source) this.config.source = this.source; //鎾斁婧� this.config.id = this.playerId; //璧嬪�兼挱鏀惧櫒瀹瑰櫒id this.config.progressMarkers = this.markers; // 鏍囨敞 - console.log("alipayer config", this.config); + // console.log("alipayer config", this.config); this.player && this.player.dispose(); //闃叉瀹炰緥鐨勯噸澶� this.player = Aliplayer(this.config); for (const ev in this.events) { -- Gitblit v1.8.0