From bf3416299829e5926cc59f24c99b41f44c6415c6 Mon Sep 17 00:00:00 2001 From: shinya Date: Sun, 22 Jun 2025 22:03:12 +0800 Subject: [PATCH] feat: remove change source button, exit fullscreen when changing episodes --- src/app/play/page.tsx | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/app/play/page.tsx b/src/app/play/page.tsx index 12b404a..dd4a0a5 100644 --- a/src/app/play/page.tsx +++ b/src/app/play/page.tsx @@ -516,17 +516,12 @@ function PlayPageClient() { html: '选集', tooltip: '选择集数', click: function () { + if (artPlayerRef.current && artPlayerRef.current.fullscreen) { + artPlayerRef.current.fullscreen = false; + } setShowEpisodePanel(true); }, }, - { - position: 'right', - html: '换源', - tooltip: '更换视频源', - click: function () { - handleSourcePanelOpen(); - }, - }, ], });