Add watch trailer button with cinematic YouTube player dialog

Fetch trailer video keys from TMDB videos API during title import/refresh,
store in DB, and display a "Trailer" button on title pages that opens a
media-chrome Sutro-themed YouTube player in a fullwidth dialog.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-05 13:36:38 -05:00
co-authored by Claude Opus 4.6
parent f3a425a5a9
commit 9ecf7bbe3c
12 changed files with 2237 additions and 1 deletions
+3
View File
@@ -17,6 +17,7 @@
"dependencies": {
"@base-ui/react": "1.2.0",
"@better-auth/drizzle-adapter": "1.5.3",
"@player.style/sutro": "0.2.1",
"@tabler/icons-react": "3.38.0",
"@tanstack/react-hotkeys": "0.3.1",
"better-auth": "1.5.3",
@@ -29,6 +30,7 @@
"embla-carousel-react": "8.6.0",
"embla-carousel-wheel-gestures": "8.1.0",
"jotai": "2.18.0",
"media-chrome": "4.18.0",
"motion": "12.35.0",
"next": "16.1.6",
"node-vibrant": "4.0.4",
@@ -43,6 +45,7 @@
"tailwind-merge": "3.5.0",
"tw-animate-css": "1.4.0",
"vaul": "1.1.2",
"youtube-video-element": "1.9.0",
"zod": "4.3.6"
},
"devDependencies": {