Skip to content

一分钟搭建影视站,支持Docker等部署方式

feat(player): 浏览器全屏按钮

WLong5a0a5797e87c
diff --git a/js/player.js b/js/player.js
index 0567120..54d91fb 100644
--- a/js/player.js
+++ b/js/player.js
@@ -450,7 +450,7 @@ function initPlayer(videoUrl) {
playbackRate: true,
aspectRatio: false,
fullscreen: true,
- fullscreenWeb: false,
+ fullscreenWeb: true,
subtitleOffset: false,
miniProgressBar: true,
mutex: true,
diff --git a/player.html b/player.html
index d14fba4..0e802a4 100644
--- a/player.html
+++ b/player.html
@@ -108,7 +108,7 @@
max-height: 100vh !important;
background: #000 !important;
object-fit: contain !important;
- position: relative !important;
+ /* position: relative !important; */
display: block !important;
}