Leporello: Accessible Concertina Timeline for Video.js 10Leporello: Accessible Concertina Timeline for Video.js 10
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
Leporello: the timeline is a concertina book.
A long video is a book, so its timeline should read like one. Leporello turns the Video.js 10 time slider into a strip of paper folded concertina-style: one fold per chapter, each as wide as its chapter and printed with its title. Played time is solid ink along the foot; loaded time is half-tone that hasn't dried yet.
Rest on a fold and its page unfolds: five frames from that chapter and a scale for that chapter alone, at least twice as fine as the strip. Drag it or use the arrow keys; Shift steps a single frame. Leave the player alone and the strip folds flat into a 3 px ink line with a notch at every chapter. Menus, the volume slip and tooltips fold out from their buttons, and --media-accent-color re-inks the lot.
Usable: the stock Video.js time slider stays underneath as the real control. Full keyboard map, with [ and ] for chapters and Shift + arrows for single frames; Esc folds the page and returns focus. On a phone the page measures its room and goes compact: 44 px targets, swipe to seek, tap a fold to jump.
Accessible: the slider names the chapter and the time for screen readers. Opaque paper with ink at 15:1 stays readable over any frame. Reduced motion: nothing folds. Forced colours, visible focus, captions with descriptions.
Real site: live on our portfolio domain with our studio reel, streamed from Mux. Nine real templates, one chapter each, and every chapter's page links to its live demo. Built on @videojs/html 10.4 from the Scaffold skin.
Denis's avatar
A concertina book timeline with one fold per chapter, and half-tone for loaded time. So good.
Mohsen's avatar
The detail that won me over is the fold unfolding into five frames from that chapter with its own scale — twice as fine as the strip. It turns scrubbing from guessing along a line into actually reading the chapter you're in. And the strip folding flat into a 3px ink line when...
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started