← changelog

dididecks-playerchangelog/2026-10-28_01.md

The DidiDecks viewer is its own package

Play, scroll and print a 16:9 deck from any Astro site, without the authoring tools that only work in dev. The best version of each piece, chosen from nine copies across the tree, with two bugs fixed and a new single-page player.

  • Dididecks
  • Slide-Decks
  • Astro-Components
  • Package-Extraction

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-player holds the viewer: static Astro components, scoped CSS, --ddd-chrome-* tokens. No Tailwind, no filesystem access, no registry.

  • DeckPlayer and PlayerSlide. 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), #N links 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.

  • SlideCanvas centres 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.

  • ContentFit joins from calmstorm-decks: scales overflowing content down to fit.

Fixes

  • DeckChrome listened for ddd:section-changed, but the scroll deck sends deck:section-changed, so the first/last-slide state never updated. It now listens for both.

  • DeckChrome no 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.