diff --git a/src/app/globals.css b/src/app/globals.css index 2ec4018..3e08c2f 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -87,3 +87,15 @@ body { 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; /* 其余区域填充为黑色 */ +} diff --git a/src/app/play/page.tsx b/src/app/play/page.tsx index 3aa2c48..67b2478 100644 --- a/src/app/play/page.tsx +++ b/src/app/play/page.tsx @@ -418,7 +418,7 @@ function PlayPageClient() { volume: 0.7, isLive: false, muted: false, - autoplay: true, + autoplay: false, pip: false, autoSize: false, autoMini: false, @@ -1342,7 +1342,7 @@ function PlayPageClient() { {/* 中央标题及集数信息 */} -
+
{videoTitle}