From 89a12be9b19405ea5f775cf2981375cefe575d1b Mon Sep 17 00:00:00 2001
From: Tomas <tomasysh@gmail.com>
Date: 星期四, 17 八月 2023 14:13:57 +0800
Subject: [PATCH] Update#172071: 右下角影片預設放大一點

---
 PAMapp/pages/index.vue |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/PAMapp/pages/index.vue b/PAMapp/pages/index.vue
index 29316ac..6639e22 100644
--- a/PAMapp/pages/index.vue
+++ b/PAMapp/pages/index.vue
@@ -148,9 +148,10 @@
          style="position: fixed; bottom: 30px; right: 30px; z-index: 9999; display: flex; justify-content: flex-end;"
     >
       <iframe
-        width=��780��
-        height=��440��
+        id="ytplayer" type="text/html" width="360" height="270"
+        frameborder="0"
         allowfullscreen
+        sandbox="allow-scripts allow-same-origin"
         :src="filmVideoSrc"
       ></iframe>
       <div class="close-btn" @click="closeVideo()">X</div>
@@ -285,8 +286,8 @@
     get filmVideoSrc() {
       if (!this.fromAccess) return '';
       return this.fromAccess === AccessFroms.FILM_1
-        ? 'https://www.youtube.com/embed/zVBLW9hWD0g?autoplay=1&mute=1&controls=0&showinfo=0&loop=1&playlist=zVBLW9hWD0g'
-        : 'https://www.youtube.com/embed/655JnwbuRGA?autoplay=1&mute=1&controls=0&showinfo=0&loop=1&playlist=655JnwbuRGA';
+        ? 'https://www.youtube.com/embed/zVBLW9hWD0g?autoplay=1&mute=1&loop=1&playlist=zVBLW9hWD0g'
+        : 'https://www.youtube.com/embed/655JnwbuRGA?autoplay=1&mute=1&loop=1&playlist=655JnwbuRGA';
     }
 
 
@@ -576,7 +577,7 @@
   /* 蝣箔�� .video-container ��撠�/蝯����摰祝摨� */
   .video-container {
     position: relative;
-    width: 600px; /* �����蔣��偕撖貉矽� */
+    width: auto; /* �����蔣��偕撖貉矽� */
   }
 
   /* �����見撘� */

--
Gitblit v1.9.3