Skip to content

feat: the pages and the preview's report follow player 1.5 - #6

Merged
alekswebnet merged 1 commit into
mainfrom
feat/player-1.5
Nov 9, 2026
Merged

alekswebnet merged 1 commit into
mainfrom
feat/player-1.5

Conversation

@alekswebnet

@alekswebnet alekswebnet commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

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 a warn line that links to a new section of docs/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 to docs/setup.md#requirements and docs/troubleshooting.md.
  • /player: adds h5p-author, the SCORM zip (and its in-browser page), h5p-verify --preview and 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-Headers gains ETag, which lets a revisit skip re-reading the package (player 1.5).

Testing

  • pnpm test: 40 passed, with new cases for refreshed and downgradedLibraries. pnpm typecheck and pnpm build pass.
  • 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.refreshed and downgradedLibraries from 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.
  • /player lists h5p-author, the SCORM zip, h5p-verify --preview, and the H5P Preview VS Code extension; dead player links now point to docs/setup.md and docs/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 ETag to Access-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".

Written for commit 16f6857. Summary will update on new commits.

View guided diff

The pages described the player of mid-October. For player 1.5.1, embed 1.7.0
and library pack 1.1.0 on the player origin:

- The report reader takes libraryBundle.refreshed and downgradedLibraries. A
  package that carries older libraries says which play at the pack's newer
  version, where it said "exported without its libraries"; content made for
  newer libraries than the pack's gets a warning and a guide section.
- H5P's own buttons follow the language the package declares (player 1.1);
  &lang= only covers a package that names none. Home FAQ and /player.
- The library pack is one file per library, downloaded as a package needs it,
  not a 14 MB bundle: guides and the report line.
- h5p-player-setup.md is gone from the player's repository: its links go to
  docs/setup.md and docs/troubleshooting.md.
- /player lists h5p-author, the SCORM zip, verify --preview and the VS Code
  extension; the AI FAQ names the h5p-author skill.
- AR Scavenger is not supported (player 1.1.2): troubleshooting says so, and
  the privacy guide no longer gives it as a working use of the camera.
- Hosting: Access-Control-Expose-Headers gains ETag (player 1.5).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@alekswebnet alekswebnet self-assigned this Nov 9, 2026
@alekswebnet
alekswebnet merged commit 744811c into main Nov 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant