From bb2b37a078ead2f19a83616650996f50073a18e6 Mon Sep 17 00:00:00 2001 From: shinya Date: Tue, 1 Jul 2025 23:08:07 +0800 Subject: [PATCH] feat: add rewind and fast forward --- src/app/play/page.tsx | 75 ++++++++++++++++++++++++++++++++++++------- 1 file changed, 64 insertions(+), 11 deletions(-) diff --git a/src/app/play/page.tsx b/src/app/play/page.tsx index a819cc5..845a145 100644 --- a/src/app/play/page.tsx +++ b/src/app/play/page.tsx @@ -1355,26 +1355,55 @@ function PlayPageClient() { muteButton: null, // 隐藏静音按钮 volumeSlider: null, // 隐藏音量条 airPlayButton: null, // 隐藏默认 AirPlay 按钮 - beforeCurrentTime: - totalEpisodes > 1 ? ( - // 下一集按钮放在时间显示前 + beforeCurrentTime: ( + <> + {/* 快进 10 秒按钮 - 移动端隐藏 */} - ) : null, + + {totalEpisodes > 1 && ( + // 下一集按钮放在时间显示前 + + )} + + ), beforeFullscreenButton: ( <> + ), }} />