From 68a06a99b1218f313c7fce2dd6eacd956ebf7a7f Mon Sep 17 00:00:00 2001
From: Tomas <tomasysh@gmail.com>
Date: 星期日, 20 八月 2023 19:09:43 +0800
Subject: [PATCH] Update: 添加 sandbox 屬性 allow-popups 解決無法開啟原始 Youtube 連結的情形

---
 PAMapp/pages/index.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/PAMapp/pages/index.vue b/PAMapp/pages/index.vue
index 0ae610ae..6136bea 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 allow-popups"
         :src="filmVideoSrc"
       ></iframe>
       <div class="close-btn" @click="closeVideo()">X</div>
@@ -576,7 +577,7 @@
   /* 蝣箔�� .video-container ��撠�/蝯����摰祝摨� */
   .video-container {
     position: relative;
-    width: 600px; /* �����蔣��偕撖貉矽� */
+    width: auto; /* �����蔣��偕撖貉矽� */
   }
 
   /* �����見撘� */

--
Gitblit v1.9.3