From 271ca6cb0ee2ff0a789bf74d1821e7891a7043bb Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Tue, 30 Aug 2022 21:57:42 +0800 Subject: [PATCH] 自定义表情组件 --- src/components/iframe/videoMiniBox.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/iframe/videoMiniBox.vue b/src/components/iframe/videoMiniBox.vue index a73e200..bf4cc20 100644 --- a/src/components/iframe/videoMiniBox.vue +++ b/src/components/iframe/videoMiniBox.vue @@ -26,7 +26,7 @@ //弹窗初始化后先不加载视频,等待手动播放 this.init(); - this.dp.volume(0, true, false); + this.dp.volume(0.1, true, false); this.dp.on('pause', function() { _this.$message.info("停止播放") @@ -38,6 +38,7 @@ this.dp.on('error', function() { _this.disabledPointer = true + this.closePlayer = true; }); _this.$nextTick(function() { @@ -49,7 +50,8 @@ dp: null, hls: null, videoData: {}, - closePlayer: false + closePlayer: false, + disabledPointer:false, } }, methods: { -- Gitblit v1.9.1