From 2a0b7d5ad088ba894e767c1682b2f082fc5522ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Mon, 1 Dec 2025 14:37:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/plugins/live/pull/components/video/video.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pages/plugins/live/pull/components/video/video.vue b/pages/plugins/live/pull/components/video/video.vue index 77324d00..0f0f611d 100644 --- a/pages/plugins/live/pull/components/video/video.vue +++ b/pages/plugins/live/pull/components/video/video.vue @@ -57,6 +57,8 @@ ended() { this.$emit('ended'); }, + //#ifdef H5 + // 网页有的时候直接访问会报错,所以这里需要判断一下,如果报错则静音播放,静音播放成功添加提示,用户操作之后改为非静音播放 // 静音自动播放成功, 触发事件, 添加提示弹出框,用户操作之后改为非静音播放 auto_play_success(e) { // 静音播放成功时,触发事件,提示用户需要修改点击修改播放状态 @@ -75,6 +77,7 @@ muted_tap() { this.muted = false; } + // #endif }, }