From 2800fa4f32f3900509cb4d6eefaf2bfaf54efdd7 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Mon, 21 Apr 2025 18:29:09 +0800
Subject: [PATCH] fix: 天气显示
---
src/components/LiveVideo.vue | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/components/LiveVideo.vue b/src/components/LiveVideo.vue
index be0c852..9a2a256 100644
--- a/src/components/LiveVideo.vue
+++ b/src/components/LiveVideo.vue
@@ -1,7 +1,7 @@
<!--视频直播-->
<template>
<div class="live-video" ref="JessibucaContainer">
- <video ref="liveVideoRef" class="video-player" controls autoplay muted playsinline>
+ <video ref="liveVideoRef" class="video-player" :controls="props.controls" autoplay muted playsinline>
Your browser is too old which doesn't support HTML5 video.
</video>
</div>
@@ -15,6 +15,10 @@
type: String,
default: '',
},
+ controls:{
+ type:Boolean,
+ default: true
+ }
});
let liveVideoRef = ref(null);
--
Gitblit v1.9.3