diff --git a/src/app/play/page.tsx b/src/app/play/page.tsx
index af57435..5ecb854 100644
--- a/src/app/play/page.tsx
+++ b/src/app/play/page.tsx
@@ -8,9 +8,8 @@ import {
isHLSProvider,
MediaPlayer,
MediaProvider,
- Menu,
} from '@vidstack/react';
-import { AirPlayIcon, SettingsIcon } from '@vidstack/react/icons';
+import { AirPlayIcon } from '@vidstack/react/icons';
import {
defaultLayoutIcons,
DefaultVideoLayout,
@@ -1393,39 +1392,22 @@ function PlayPageClient() {
- {/* 设置按钮 */}
-
-
-
-
-
-
-
-
+
>
),
}}
@@ -1788,6 +1770,41 @@ const FavoriteIcon = ({ filled }: { filled: boolean }) => {
return ;
};
+// 新增:去广告图标组件
+const AdBlockIcon = ({ enabled }: { enabled: boolean }) => {
+ const color = enabled ? '#22c55e' : '#ffffff'; // Tailwind green-500 or white
+ return (
+
+ );
+};
+
export default function PlayPage() {
return (