From 84ad5590bafc58e17ebcf7ebdce2cd70c0c22ea9 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期五, 24 九月 2021 18:54:56 +0800
Subject: [PATCH] 日期时间新版
---
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