feat: adjust player style

This commit is contained in:
shinya
2025-06-23 00:47:28 +08:00
parent 1f7f3d8295
commit bbe8cb201f
2 changed files with 14 additions and 2 deletions

View File

@@ -87,3 +87,15 @@ body {
display: none; /* Chrome Safari */ display: none; /* Chrome Safari */
} }
} }
/* 隐藏 Artplayer 顶部提示 */
.art-notice {
display: none !important;
}
.art-poster {
background-size: contain !important; /* 使图片完整展示 */
background-position: center center !important; /* 居中显示 */
background-repeat: no-repeat !important; /* 防止重复 */
background-color: #000 !important; /* 其余区域填充为黑色 */
}

View File

@@ -418,7 +418,7 @@ function PlayPageClient() {
volume: 0.7, volume: 0.7,
isLive: false, isLive: false,
muted: false, muted: false,
autoplay: true, autoplay: false,
pip: false, pip: false,
autoSize: false, autoSize: false,
autoMini: false, autoMini: false,
@@ -1342,7 +1342,7 @@ function PlayPageClient() {
</button> </button>
{/* 中央标题及集数信息 */} {/* 中央标题及集数信息 */}
<div className='ml-10 sm:ml-0 text-center'> <div className='ml-10 sm:ml-0 text-left sm:text-center'>
<div className='flex items-center justify-center gap-2 max-w-xs mx-auto'> <div className='flex items-center justify-center gap-2 max-w-xs mx-auto'>
<span className='text-white font-semibold text-lg truncate'> <span className='text-white font-semibold text-lg truncate'>
{videoTitle} {videoTitle}