jatui

GenerativeBackdrop

Manifest-driven video/poster/procedural backdrop — zero API calls at runtime, graceful fallback chain

With sample manifest (poster → video chain)

Loads /gen/demo-hero/manifest.json. Poster renders immediately; video fades in when the element enters the viewport.

Hero content goes here

Overlay options

Overlay: none

Procedural fallback (missing manifest)

When no manifest exists, the component self-heals with a slow CSS multi-stop gradient drift built from the DaisyUI theme palette. In DEV mode it also logs an intent to localStorage.

No manifest — procedural drift active

Fallback chain

TierTriggerBehaviour
1 — CSS gradientAlways (0ms)Palette from manifest or DaisyUI theme fallback
2 — Poster imgManifest presentAVIF + JPG fallback; loads eagerly
3 — VideoManifest + IntersectionObserver + no reduced-motionWebM → MP4; muted autoplay loop; pauses offscreen
ProceduralMissing/failed manifestAnimated multi-stop gradient drift from theme colors