mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-02-22 02:24:44 +08:00
fix: video not fit
This commit is contained in:
@@ -146,3 +146,9 @@ html.dark::view-transition-new(root) {
|
||||
html:not(.dark)::view-transition-new(root) {
|
||||
animation-name: slide-from-bottom;
|
||||
}
|
||||
|
||||
/* 强制播放器内部的 video 元素高度为 100%,并保持内容完整显示 */
|
||||
div[data-media-provider] video {
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
@@ -1453,6 +1453,7 @@ function PlayPageClient() {
|
||||
googleCastButton: null,
|
||||
pipButton: null,
|
||||
settingsMenu: null,
|
||||
captionButton: null,
|
||||
muteButton: null, // 隐藏静音按钮
|
||||
volumeSlider: null, // 隐藏音量条
|
||||
airPlayButton: null, // 隐藏默认 AirPlay 按钮
|
||||
|
||||
Reference in New Issue
Block a user