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:
1 parent
1a2ec5c505
commit
54014ae01f
19 files changed
+2617
No files matched your search
@@ -38,6 +38,7 @@ import {
|
||||
} from '@/components/ui/tooltip';
|
||||
import { CastList } from '@/components/entries/CastList';
|
||||
import { SeasonsContainer } from '@/components/entries/SeasonsContainer';
|
||||
import { StreamingSection } from '@/components/streaming/StreamingSection';
|
||||
// EpisodeWatchHistory is available for future use
|
||||
import { EntrySettingsDialog } from '@/components/dialogs/EntrySettingsDialog';
|
||||
import { EntrySeenDialog } from '@/components/dialogs/EntrySeenDialog';
|
||||
@@ -410,6 +411,9 @@ export function EntryDetailsPage() {
|
||||
|
||||
{/* Sections */}
|
||||
<div className="mt-10 space-y-8">
|
||||
{/* Streaming player */}
|
||||
<StreamingSection entry={e} seasons={seasons} />
|
||||
|
||||
{e.credits && e.credits.length > 0 && (
|
||||
<>
|
||||
<Separator />
|
||||
|
||||
Reference in new issue
Block a user