From b43cf4bc5eb3e5cbeea29e93a1744522df30ef00 Mon Sep 17 00:00:00 2001 From: 86156 <823267011@qq.com> Date: Thu, 2 Oct 2025 14:52:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B7=A5=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rtsp-vue/src/views/video/device/component/cusPlayer.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rtsp-vue/src/views/video/device/component/cusPlayer.vue b/rtsp-vue/src/views/video/device/component/cusPlayer.vue index f83b81d..d19c257 100644 --- a/rtsp-vue/src/views/video/device/component/cusPlayer.vue +++ b/rtsp-vue/src/views/video/device/component/cusPlayer.vue @@ -100,7 +100,10 @@ export default { // 尝试不同的方式访问 flv.js 实例 let flvInstance = null; - if (this.player.flv) { + if (this.player.__flv__) { + flvInstance = this.player.__flv__; + console.log('📊 找到 flv.js 实例 (this.player.__flv__):', flvInstance); + } else if (this.player.flv) { flvInstance = this.player.flv; console.log('📊 找到 flv.js 实例 (this.player.flv):', flvInstance); } else if (this.player._flv) {