mediago-dev--mediago
de3b805ea0
Refactor video player API from filesystem scanning to database-backed: - Video list queries downloads with status="success" + file existence check - Add GET /api/v1/videos/:id endpoint for playing specific video by task ID - Add playerUrl to /api/env response (computed from request host) - Whitelist player/video paths in auth middleware - Fix video URL generation to preserve folder structure (relative path) - Fix player-ui Vite base path and video URL resolution under /player/ - Add openUrl implementation to web platform stubs - Player-UI supports ?id= query param to auto-play specific video - Play button now passes task.id instead of filename Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>