From e7ab983f94d5c7aea035c188ddfd48c6e0cc9a47 Mon Sep 17 00:00:00 2001
From: xiaoxie <hotcoffie@163.com>
Date: 星期六, 23 四月 2022 11:34:43 +0800
Subject: [PATCH] 动态计算播放器尺寸,保持16:9比例,避免出现黑框或固定大小无法缩放

---
 web_src/src/components/common/jessibuca.vue |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/web_src/src/components/common/jessibuca.vue b/web_src/src/components/common/jessibuca.vue
index 3754a08..d071185 100644
--- a/web_src/src/components/common/jessibuca.vue
+++ b/web_src/src/components/common/jessibuca.vue
@@ -1,6 +1,5 @@
 <template>
-  <div :id="containerId" :ref="containerId" style="width: 100%;height: auto; background-color: #000"
-       @dblclick="fullscreenSwich">
+  <div :id="containerId" :ref="containerId" @dblclick="fullscreenSwich">
     <div class="buttons-box" id="buttonsBox">
       <div class="buttons-box-left">
         <i v-if="!playing" class="iconfont icon-play jessibuca-btn" @click="playBtnClick"></i>

--
Gitblit v1.8.0