From b2f47a9978af3d3ba24cff589399737f241ae305 Mon Sep 17 00:00:00 2001 From: shinya Date: Wed, 25 Jun 2025 01:42:29 +0800 Subject: [PATCH] feat: add setting button --- src/app/play/page.tsx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/app/play/page.tsx b/src/app/play/page.tsx index 3d0fcf9..44b13c8 100644 --- a/src/app/play/page.tsx +++ b/src/app/play/page.tsx @@ -451,6 +451,7 @@ function PlayPageClient() { try { // 创建新的播放器实例 + Artplayer.PLAYBACK_RATE = [0.5, 0.75, 1, 1.25, 1.5, 2, 3]; artPlayerRef.current = new Artplayer({ container: artRef.current, url: videoUrl, @@ -464,7 +465,7 @@ function PlayPageClient() { autoSize: false, autoMini: false, screenshot: false, - setting: false, + setting: true, loop: false, flip: false, playbackRate: true, @@ -556,14 +557,6 @@ function PlayPageClient() { setShowEpisodePanel(true); }, }, - { - position: 'right', - html: '换源', - tooltip: '更换视频源', - click: function () { - handleSourcePanelOpen(); - }, - }, ], });