Layered Video Backdrop Pager

Building a swipeable now-playing page whose layers — a colour backdrop, a full-bleed looping video or image, and a centred square cover — all belong to one pager, with per-page colours taken from the bitmap that page actually painted and a scrim spanning the whole page. Use when a swipe makes the background and the cover slide out of step, when video from one track bleeds into the neighbouring page mid-swipe, when the backdrop colour belongs to the wrong track or flashes black between pages, when the bottom of the video shows through the controls, or when a tap overlay stops the pager from being dragged at all.

maxrave-dev 6f17982 8.6 KB Updated

File contents

maxrave-dev/kotlin-footguns/tree/main/skills/layered-video-backdrop-pager commit 6f179825e8

Frequently asked questions

npx skillmds@latest add maxrave-dev/layered-video-backdrop-pager