更改视频下载逻辑

This commit is contained in:
mtvpls
2025-12-09 22:31:35 +08:00
parent 24e333a705
commit 777e110bf1
9 changed files with 1311 additions and 12 deletions
+10 -3
View File
@@ -12,6 +12,9 @@ import { SiteProvider } from '../components/SiteProvider';
import { ThemeProvider } from '../components/ThemeProvider';
import { WatchRoomProvider } from '../components/WatchRoomProvider';
import ChatFloatingWindow from '../components/watch-room/ChatFloatingWindow';
import { DownloadProvider } from '../contexts/DownloadContext';
import { DownloadBubble } from '../components/DownloadBubble';
import { DownloadPanel } from '../components/DownloadPanel';
const inter = Inter({ subsets: ['latin'] });
export const dynamic = 'force-dynamic';
@@ -124,9 +127,13 @@ export default async function RootLayout({
>
<SiteProvider siteName={siteName} announcement={announcement}>
<WatchRoomProvider>
{children}
<GlobalErrorIndicator />
<ChatFloatingWindow />
<DownloadProvider>
{children}
<GlobalErrorIndicator />
<ChatFloatingWindow />
<DownloadBubble />
<DownloadPanel />
</DownloadProvider>
</WatchRoomProvider>
</SiteProvider>
</ThemeProvider>