feat(media): implement video processing polling and fallback

This commit adds robust handling for Google Drive videos that are still processing (lacking thumbnails).  Changes include:  1. Backend (MediaService.ts): Implement try/catch around thumbnail generation. If it fails, return a placeholder and flag the item as 'isProcessing'. 2. Frontend (MediaManager.html):     - Add polling logic to check for updates on processing items every 15s.     - Add UI support for processing state: slate background, centered animated hourglass emoji.     - Implement sand animation (toggling hourglass state) and rotation animation (180deg flip on poll event).     - Fix badges and positioning issues.
This commit is contained in:
Ben Miller
2025-12-29 09:12:37 -07:00
parent 7ef5ef2913
commit f6831cdc8f
2 changed files with 670 additions and 514 deletions

File diff suppressed because it is too large Load Diff