feat(frontend): implement full in-app streaming system with 4 APIs

- Add streaming types, interfaces, and normalized response structures
- Create StreamingManager with URL building, validation, and security
- Implement provider adapters for VidLink (2 servers), VidKing (1 server), AnyEmbed (5 servers)
- Add Zustand streaming store with server selection, fallback, and retry logic
- Build StreamingPlayer iframe component with fullscreen and keyboard shortcuts
- Add ServerSelector dropdown with 8 servers and active state indicator
- Create EpisodeNavigator with season tabs and episode grid
- Implement AutoMarkWatchedPrompt for one-time completion opt-in
- Add StreamingSection with Watch Now / Continue Watching entry point
- Integrate StreamingSection into EntryDetailsPage
This commit is contained in:
Mohammed Abad committed 2026-05-25 02:09:40 +01:00
1 parent 1a2ec5c505
commit 54014ae01f
19 files changed
+2617

No files matched your search

+22
View File
@@ -22,6 +22,12 @@ import {
const HomePage = lazy(() =>
import('@/pages/HomePage').then((m) => ({ default: m.HomePage }))
);
const HomePage2 = lazy(() =>
import('@/pages/HomePage2').then((m) => ({ default: m.HomePage2 }))
);
const HomePage3 = lazy(() =>
import('@/pages/HomePage3').then((m) => ({ default: m.HomePage3 }))
);
const DashboardPage = lazy(() =>
import('@/pages/DashboardPage').then((m) => ({ default: m.DashboardPage }))
);
@@ -105,6 +111,22 @@ export const router = createRouter([
</SuspensePage>
),
},
{
path: '/home2',
element: (
<SuspensePage fallback={<HomeSkeleton />}>
<HomePage2 />
</SuspensePage>
),
},
{
path: '/home3',
element: (
<SuspensePage fallback={<HomeSkeleton />}>
<HomePage3 />
</SuspensePage>
),
},
{
path: '/search',
element: (