Why Care?
Every site in the tree that showed a deck had rebuilt its own viewer, and the copies had drifted: nine scroll-deck wrappers, four slide canvases, and the newest fix always in whichever site needed it last. The DidiDecks shell had the best play and print pieces but couldn't be used outside a dididecks client-site, because it also carries the slide rater, which writes to disk.
What's New?
A standalone package.
@lossless-group/dididecks-playerholds the viewer: static Astro components, scoped CSS,--ddd-chrome-*tokens. No Tailwind, no filesystem access, no registry.DeckPlayerandPlayerSlide. A single-page play deck: one slide at a time, arrow keys and swipe, a contents list that skips to any slide (T or J), fullscreen (F),#Nlinks to a slide, and print at one slide per page. A slide can be an Astro component or a rendered image.PrintDeck. The print layout from the shell's print route, usable anywhere.SlideCanvascentres its slide. A non-16:9 space now letterboxes evenly on both sides instead of leaving the gap at the right and bottom. It also gains calmstorm-decks' optional wash layer.ContentFitjoins from calmstorm-decks: scales overflowing content down to fit.
Fixes
DeckChromelistened forddd:section-changed, but the scroll deck sendsdeck:section-changed, so the first/last-slide state never updated. It now listens for both.DeckChromeno longer hijacks browser shortcuts: Cmd+C copies instead of hiding the chrome.
What stays in the shell
The rater and triage tools, the deck registry and the /play and /toc
routes remain in @dididecks/shell, which now depends on this package and
re-exports these components at their old paths.
Next
Version 0.2 brings lossless-slides-site's scroll deck, fullstack-vc's jump
panel, one chrome-hidden attribute and a flash-free mode switcher. See the
roadmap in context-v/specs/Init-Dididecks-Player-Package.md.