Building SceneQuiz: Spoiler-Safe HD Video Movie & Global Series Quizzes Across 19 Languages
Daily single-frame movie puzzles are fun, but cinema lives in motion, pacing, dialogue, and sound design. Over the past few months, I built SceneQuiz (https://scenequizapp.com/)βa free browser and mobile trivia engine wh
Daily single-frame movie puzzles are fun, but cinema lives in motion, pacing, dialogue, and sound design. Over the past few months, I built SceneQuiz (https://scenequizapp.com/)βa free browser and mobile trivia engine where players identify 2,480+ movies, anime, and global TV series from real 5-second HD video clips with original audio.
Here are three engineering challenges that shaped the architecture:
1. Frame-Accurate Spoiler Cuts with spoilerTiming.json
Playing moving scenes introduces a tricky UX constraint: a single extra second can reveal a character's name on screen or spoil a major plot twist. Instead of hard-re-encoding thousands of variants, we maintain a declarative spoilerTiming.json manifest that maps every clip ID to millisecond-accurate start/cutoff boundaries. Using requestVideoFrameCallback (with a high-frequency timeupdate fallback on older mobile browsers), playback halts right at the peak of dramatic tensionβbefore the revealβwhile background preloading warms the next round's video buffer for zero-latency transitions.
2. Static SSG Across 3,100+ Localized Routes & 19 Languages
Because film and TV titles vary dramatically by region, we built a static-site generation (SSG) pipeline that compiles 3,100+ localized category, franchise, and language routes across 19 languagesβcomplete with localized title matching, hreflang meshes, and structured metadata.
3. Bidirectional RTL & Global Regional Hubs
Supporting Arabic and Hebrew alongside European and CJK scripts required logical CSS properties (margin-inline, inset-inline) so countdown HUDs, 1v1 live duel scoreboards, and answer cards mirror cleanly in RTL layouts without layout shift.
Try Live Regional Hubs in the Browser (Zero Signup)
- Global / English Hub: https://scenequizapp.com/
- French Cinema & Series Blind Test: https://scenequizapp.com/fr/movie-quiz/blind-test-film-et-serie/
- Spanish Series & Novelas Turcas Quiz: https://scenequizapp.com/es/tv-quiz/quiz-series-y-novelas-turcas/
- Brazilian Portuguese Novelas Turcas Quiz: https://scenequizapp.com/pt/tv-quiz/quiz-novelas-turcas/
- Italian Serie Turche Quiz: https://scenequizapp.com/it/tv-quiz/quiz-serie-turche/
- Arabic (RTL) Turkish Series Quiz: https://scenequizapp.com/ar/tv-quiz/ikhtibar-musalsalat-turkiya/
Would love feedback from fellow web and game devs on clip preloading speed on mobile browsers and audio UX!
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.