diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index fd101f01..8813035c 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,6 +1,6 @@
# Contributing
-Thank you for contributing to `h5p-offline-player`.
+Thank you for contributing to `h5p-toolkit`.
## Before you start
@@ -24,8 +24,8 @@ dedicated worker. For architectural constraints and security boundaries, read
## Local setup
```bash
-git clone https://github.com/missing-elements/h5p-offline-player.git
-cd h5p-offline-player
+git clone https://github.com/missing-elements/h5p-toolkit.git
+cd h5p-toolkit
pnpm install --frozen-lockfile
pnpm --filter @missing-elements/h5p-offline-player exec playwright install chromium
```
diff --git a/README.md b/README.md
index aac67886..04543ffd 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# @missing-elements/h5p-offline-player
[](https://www.npmjs.com/package/@missing-elements/h5p-offline-player)
-[](https://github.com/missing-elements/h5p-offline-player/blob/main/LICENSE)
+[](https://github.com/missing-elements/h5p-toolkit/blob/main/LICENSE)
Self-hosted [H5P](https://h5p.org) without an H5P server. One web component plays `.h5p` files
from your own URLs or from disk, on static hosting you control: no Moodle, WordPress or Lumi, no
@@ -13,7 +13,7 @@ backend, and no service of ours or H5P Group's between your learners and your co
[Lovable example](https://embed-h5p-file.lovable.app/) ·
[VS Code extension](https://marketplace.visualstudio.com/items?itemName=MissingElements.h5p-preview)
-Version 1 since October 2026; [Compatibility](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/compatibility.md)
+Version 1 since October 2026; [Compatibility](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/compatibility.md)
says what a version number promises. **Every week** a job rebuilds the library pack from the H5P
hub and the interface strings from Moodle's translations, opens a pull request when either
changed, and plays every content type in the pack, trusted and untrusted.
@@ -21,32 +21,32 @@ changed, and plays every content type in the pack, trusted and untrusted.
## Features
- **Plays the packages people have.** Large ones stream, and exports without their libraries, as
- h5p.com and h5p.org make them, play against a [library pack](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/libraries.md)
+ h5p.com and h5p.org make them, play against a [library pack](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/libraries.md)
of the 53 content types the H5P hub serves.
-- **Plays packages you did not make** with [`untrusted`](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/untrusted.md): none of their
+- **Plays packages you did not make** with [`untrusted`](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/untrusted.md): none of their
code runs, and their content is checked by a port of H5P's own validator.
- **Reports results you can audit:** xAPI statements that name the
- [build of the package](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/revision.md) they came from, [cmi5](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/cmi5.md), [resume](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/resume.md), and a
- [SCORM zip](https://github.com/missing-elements/h5p-offline-player/tree/main/packages/embed#a-scorm-package-for-an-lms): SCORM 1.2, checked in
+ [build of the package](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/revision.md) they came from, [cmi5](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/cmi5.md), [resume](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/resume.md), and a
+ [SCORM zip](https://github.com/missing-elements/h5p-toolkit/tree/main/packages/embed#a-scorm-package-for-an-lms): SCORM 1.2, checked in
Moodle, ILIAS, OpenOLAT, Chamilo, SCORM Cloud and Frappe LMS, or 2004, checked in Moodle and
SCORM Cloud.
- **No tracking:** no account, cookies or telemetry, and nothing it stores leaves the learner's
browser. The library pack comes from jsDelivr unless you serve a copy
- ([privacy](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/privacy.md)).
+ ([privacy](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/privacy.md)).
- **Works offline, in the content's language:** an installable app, and H5P's own buttons in
English and 56 other languages.
- **Tested in Chromium, Firefox and WebKit** on every change, and in Safari on macOS and iOS by
- hand ([browsers](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/compatibility.md#browsers)).
-- **Comes with tools:** [`h5p-verify`](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/verify.md) checks that a package plays,
- [`h5p-normalize`](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/streaming-video.md) makes its video stream, and
- [`h5p-author`](https://github.com/missing-elements/h5p-offline-player/tree/main/packages/author#readme) builds one from a short JSON source, which a
- Moodle site accepts as an upload too. [`h5p-mcp`](https://github.com/missing-elements/h5p-offline-player/tree/main/packages/mcp#readme)
+ hand ([browsers](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/compatibility.md#browsers)).
+- **Comes with tools:** [`h5p-verify`](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/verify.md) checks that a package plays,
+ [`h5p-normalize`](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/streaming-video.md) makes its video stream, and
+ [`h5p-author`](https://github.com/missing-elements/h5p-toolkit/tree/main/packages/author#readme) builds one from a short JSON source, which a
+ Moodle site accepts as an upload too. [`h5p-mcp`](https://github.com/missing-elements/h5p-toolkit/tree/main/packages/mcp#readme)
brings the build and the check to an app with no shell, such as Claude Desktop.
It is a player, not an editor, and it stores no results: its events go wherever your page sends
them. Coming from [h5p-standalone](https://github.com/tunapanda/h5p-standalone)? This player
reads the `.h5p` itself, with nothing to unzip, and
-[takes its options by the same names](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/h5p-standalone.md).
+[takes its options by the same names](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/h5p-standalone.md).
## Quick start
@@ -77,45 +77,45 @@ carries its libraries plays as it is; one exported without them, as h5p.com expo
Packages you did not make, or a site with signed-in users: play every package `untrusted`, or
embed the player from a domain of its own, as
-[Which setup](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/setup.md#which-setup) explains.
-[Setting up the player](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/setup.md) also covers a page without a bundler, Rollup and
+[Which setup](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/setup.md#which-setup) explains.
+[Setting up the player](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/setup.md) also covers a page without a bundler, Rollup and
esbuild, and the one-prompt install on Lovable;
-[the element's API](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/api.md) lists every attribute, property and event.
+[the element's API](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/api.md) lists every attribute, property and event.
## Documentation
-- **Set up:** [Setting up the player](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/setup.md) ·
- [The element's API](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/api.md) ·
- [Troubleshooting](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/troubleshooting.md) ·
- [Single-worker hosts and upgrades](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/single-worker.md) ·
- [Coming from h5p-standalone](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/h5p-standalone.md)
-- **Packages:** [Libraries](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/libraries.md) ·
- [Packages you did not make](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/untrusted.md) ·
- [Video that cannot stream](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/streaming-video.md) ·
- [Verifying a package](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/verify.md) ·
- [The frame's CSP](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/frame-csp.md)
-- **Results:** [Resume](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/resume.md) ·
- [Which build a learner completed](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/revision.md) ·
- [cmi5](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/cmi5.md) ·
- [A SCORM package](https://github.com/missing-elements/h5p-offline-player/tree/main/packages/embed#a-scorm-package-for-an-lms)
-- **Policies:** [Compatibility](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/compatibility.md) ·
- [Privacy and data protection](https://github.com/missing-elements/h5p-offline-player/blob/main/docs/privacy.md) ·
- [Accessibility](https://github.com/missing-elements/h5p-offline-player/blob/main/ACCESSIBILITY.md) ·
- [Security](https://github.com/missing-elements/h5p-offline-player/blob/main/SECURITY.md)
+- **Set up:** [Setting up the player](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/setup.md) ·
+ [The element's API](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/api.md) ·
+ [Troubleshooting](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/troubleshooting.md) ·
+ [Single-worker hosts and upgrades](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/single-worker.md) ·
+ [Coming from h5p-standalone](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/h5p-standalone.md)
+- **Packages:** [Libraries](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/libraries.md) ·
+ [Packages you did not make](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/untrusted.md) ·
+ [Video that cannot stream](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/streaming-video.md) ·
+ [Verifying a package](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/verify.md) ·
+ [The frame's CSP](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/frame-csp.md)
+- **Results:** [Resume](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/resume.md) ·
+ [Which build a learner completed](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/revision.md) ·
+ [cmi5](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/cmi5.md) ·
+ [A SCORM package](https://github.com/missing-elements/h5p-toolkit/tree/main/packages/embed#a-scorm-package-for-an-lms)
+- **Policies:** [Compatibility](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/compatibility.md) ·
+ [Privacy and data protection](https://github.com/missing-elements/h5p-toolkit/blob/main/docs/privacy.md) ·
+ [Accessibility](https://github.com/missing-elements/h5p-toolkit/blob/main/ACCESSIBILITY.md) ·
+ [Security](https://github.com/missing-elements/h5p-toolkit/blob/main/SECURITY.md)
## Packages
| Package | What it is |
|---|---|
| [`@missing-elements/h5p-offline-player`](https://www.npmjs.com/package/@missing-elements/h5p-offline-player) | The `What it keeps on this device, and what it does not
H5P Offline Player by Missing Elements
installed from Chrome or Edge on the desktop, it keeps a copy of each, and removing one
from the list deletes its copy. It keeps no scores and sends nothing anywhere.
The player's own code is MIT; the H5P runtime it loads is GPL-3.0, see - NOTICE.md. + NOTICE.md. The H5P libraries it carries are listed with their licences in - libraries.txt.
+ libraries.txt. diff --git a/apps/demo/demo/compare.html b/apps/demo/demo/compare.html index c75a3d6b..e6e039c9 100644 --- a/apps/demo/demo/compare.html +++ b/apps/demo/demo/compare.html @@ -89,7 +89,7 @@.h5p plays as it is. No unzipping, no upload step, no folder per package: a URL to the file, or a file picked from disk. A 300 MB package starts after a few kilobytes on a host that honours Range, and on one that does not it starts as soon as its libraries have arrived..h5p file on a computer or a phone and plays it with no network, the libraries included: no account, no site to sign in to, nothing to install from an app store.context.revision, a fingerprint of the package it came from, so a completion record says which version the learner finished. How.context.revision, a fingerprint of the package it came from, so a completion record says which version the learner finished. How.h5p-verify plays a package headless and says whether it works; h5p-normalize rewrites one so its video streams. Both are commands, both have agent skills..h5p, and play it here — the two work together.h5p-embed --scorm wraps a package as a SCORM zip that reports the score and the learner’s place to it.h5p-embed --scorm wraps a package as a SCORM zip that reports the score and the learner’s place to it.untrusted gets its libraries from a pack pinned per release, and one that needs a newer library waits for the next pack. Data and trust, below, has what the check covers.resume is set.
Statements are not stored at all.
- What is stored and sent
+ What is stored and sent
has the details.
@@ -131,7 +131,7 @@
Facts about the other options are from their documentation as of October 2026 and may have changed; corrections are welcome as - issues. + issues.
diff --git a/apps/demo/demo/index.html b/apps/demo/demo/index.html index 6b8b7a1c..a5846274 100644 --- a/apps/demo/demo/index.html +++ b/apps/demo/demo/index.html @@ -126,8 +126,8 @@The details — what was measured, and why each rule is the way it is — are in the repository's - design notes, + design notes, in the normalizer's file and in the invariants about deflated video under serving archives.
@@ -244,7 +244,7 @@src — the element's
@@ -239,7 +239,7 @@ nginx.conf and an .htaccess for a server of your own, and the
files Netlify, Cloudflare Pages and Vercel read. --packages limits
the hosts packages may come from, and --ancestors the sites that may frame it;
- the package's README
+ the package's README
has the rest. Then, on your site:
<iframe src="https://h5p-player.example.net/?src=https://alekswebnet.github.io/h5p/gh-normalized.h5p&xapi=https://your-site.example" @@ -264,7 +264,7 @@Requirements
h5p-sw.js is on the page's own origin. With a bundler that is automatic.error: no-cors, and your page can offer a file picker instead.Range support on the host is optional. With it a 300 MB package starts after a few kilobytes; without it the archive is downloaded once and played from the browser's cache, booting as soon as its libraries have arrived.@missing-elements/h5p-runtime, whose dist/ carries its LICENSE.txt and NOTICE.txt; keep them with it when you copy or serve it. The runtime's NOTICE.md has the full account.@missing-elements/h5p-runtime, whose dist/ carries its LICENSE.txt and NOTICE.txt; keep them with it when you copy or serve it. The runtime's NOTICE.md has the full account.The element's whole API is in - docs/api.md; when something goes wrong, see - Troubleshooting, and for a site - with one Service Worker, single-worker hosts. + docs/api.md; when something goes wrong, see + Troubleshooting, and for a site + with one Service Worker, single-worker hosts.
diff --git a/apps/demo/demo/stars.js b/apps/demo/demo/stars.js index 666c9842..b4c71c68 100644 --- a/apps/demo/demo/stars.js +++ b/apps/demo/demo/stars.js @@ -18,7 +18,7 @@ ;(() => { if (matchMedia('(display-mode: standalone), (display-mode: window-controls-overlay)').matches) return - const API = 'https://api.github.com/repos/missing-elements/h5p-offline-player' + const API = 'https://api.github.com/repos/missing-elements/h5p-toolkit' const KEY = 'h5p-demo-stars' const FRESH_MS = 60 * 60 * 1000 const RETRY_MS = 10 * 60 * 1000 diff --git a/apps/demo/index.html b/apps/demo/index.html index 29829c74..3f21fe90 100644 --- a/apps/demo/index.html +++ b/apps/demo/index.html @@ -55,7 +55,7 @@ "Exports without their libraries play against a pinned library pack", "Packages played untrusted run none of their own code, and their content is checked" ], - "sameAs": ["https://github.com/missing-elements/h5p-offline-player", "https://www.npmjs.com/package/@missing-elements/h5p-offline-player"], + "sameAs": ["https://github.com/missing-elements/h5p-toolkit", "https://www.npmjs.com/package/@missing-elements/h5p-offline-player"], "author": { "@type": "Organization", "name": "missing-elements", "url": "https://github.com/missing-elements" } } ] @@ -78,9 +78,9 @@.h5p in an editor tab and plays it, offline; Cursor and VSCodium
install it from Open VSX.
In CI,
- h5p-verify
+ h5p-verify
plays a package in a headless browser and says whether it works.
@@ -226,7 +226,7 @@
@@ -234,7 +234,7 @@
A web component that reads a .h5p in place and serves it to the H5P runtime with a Service Worker.