diff --git a/src/app/play/page.tsx b/src/app/play/page.tsx index 3f6ac30..a1140eb 100644 --- a/src/app/play/page.tsx +++ b/src/app/play/page.tsx @@ -8,8 +8,13 @@ import { isHLSProvider, MediaPlayer, MediaProvider, + SeekButton, } from '@vidstack/react'; -import { AirPlayIcon } from '@vidstack/react/icons'; +import { + AirPlayIcon, + SeekBackward10Icon, + SeekForward10Icon, +} from '@vidstack/react/icons'; import { defaultLayoutIcons, DefaultVideoLayout, @@ -1389,34 +1394,6 @@ function PlayPageClient() { airPlayButton: null, // 隐藏默认 AirPlay 按钮 beforeCurrentTime: ( <> - {/* 快进 10 秒按钮 - 根据播放器尺寸决定显隐 */} - {showSkipButtons && ( - - )} - {totalEpisodes > 1 && ( // 下一集按钮放在时间显示前 + + + + )} + + ), + afterPlayButton: ( + <> + {showSkipButtons && ( + + + )} ),