feat: the pages and the preview's report follow player 1.5
The site described the player of mid-October (player 0.9, embed 0.6). The player origin now runs player 1.5.1, embed 1.7.0 and library pack 1.1.0, so this brings the pages and the preview's report up to date.
The preview's report
src/report.ts reads two fields the embed page added:
libraryBundle.refreshed(player 0.10): libraries a package carries that played at the pack's newer version. Such a package used to be described as "Exported without its libraries". It now gets: Carries its libraries, and plays 8 of them at the newer version in the player's library pack: Blanks 1.14.13 ā 1.14.37, Drag Text 1.10.17 ā 1.10.50 and 6 more.downgradedLibraries(player 1.2): content made for a newer library than the pack has, played at the newest older one. This gets awarnline that links to a new section ofdocs/hosting-packages.md, Content made for newer libraries.
A report from an older page reads as before, so this works with the player origin before and after its own PR.
The pages
- Language (home FAQ,
/player): H5P's own buttons follow the language the package declares (player 1.1).&lang=now only covers a package that declares none, so the FAQ's "without it they are in English" was wrong. - Library pack: the guides and the report line describe one file per library, downloaded as a package needs it, instead of "a bundle, about 14 MB".
- Dead links: the player removed
h5p-player-setup.md. Its four links now go todocs/setup.md#requirementsanddocs/troubleshooting.md. /player: adds h5p-author, the SCORM zip (and its in-browser page),h5p-verify --previewand the H5P Preview VS Code extension.- AI FAQ: names the h5p-author skill.
- AR Scavenger: not supported since player 1.1.2 (its inline scripts break the frame's CSP). It gets a troubleshooting entry, and the privacy guide no longer gives it as a use of the camera.
- Hosting:
Access-Control-Expose-HeadersgainsETag, which lets a revisit skip re-reading the package (player 1.5).
Testing
pnpm test: 40 passed, with new cases forrefreshedanddowngradedLibraries.pnpm typecheckandpnpm buildpass.pnpm e2e: 9 passed against the live player, and 9 passed against the player origin's PR built locally (VITE_PLAYER_URL=http://localhost:4174/h5p).
Order
Merge this before the player origin's PR, embed-my/embed-my.github.io#11. That PR makes the report list refreshed libraries for packages that carry their own. With only the current reader deployed, the preview would call those packages "exported without its libraries".
š¤ Generated with Claude Code
Summary by cubic
Updates the site's pages and the preview's report to match the player origin's player 1.5.1, embed 1.7.0, and library pack 1.1.0.
The preview's report
- Reads
libraryBundle.refreshedanddowngradedLibrariesfrom the embed page; reports from older pages still read as before. - A package that plays some of its libraries at the pack's newer version now says so, where it used to be called "exported without its libraries".
- Content made for newer libraries than the pack has gets a warn line linking to a new section in
docs/hosting-packages.md.
The pages
- H5P's own buttons follow the language the package declares;
&lang=now only covers a package that declares none. - The library pack is described as one file per library, downloaded as a package needs it, not a 14 MB bundle.
/playerlists h5p-author, the SCORM zip,h5p-verify --preview, and the H5P Preview VS Code extension; dead player links now point todocs/setup.mdanddocs/troubleshooting.md.- AR Scavenger gets a troubleshooting entry (unsupported since player 1.1.2) and is removed from the privacy guide's camera examples.
- Hosting docs add
ETagtoAccess-Control-Expose-Headers.
Merge this before embed-my/embed-my.github.io#11, which makes the report list refreshed libraries; with only this reader deployed, such packages would be called "exported without its libraries".