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 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/PAMapp/pages/index.vue b/PAMapp/pages/index.vue index 6639e22..6136bea 100644 --- a/PAMapp/pages/index.vue +++ b/PAMapp/pages/index.vue @@ -151,7 +151,7 @@ id="ytplayer" type="text/html" width="360" height="270" frameborder="0" allowfullscreen - sandbox="allow-scripts allow-same-origin" + sandbox="allow-scripts allow-same-origin allow-popups" :src="filmVideoSrc" ></iframe> <div class="close-btn" @click="closeVideo()">X</div> -- Gitblit v1.8.0