h5p-normalize

Installation
SKILL.md

Normalize an H5P package

When a package's video takes minutes to start, the package is usually the problem, not the player or the host. Two things inside the zip cause it: the video is deflated (compressed inside the archive, so no byte of it can be read without everything before it), and the mp4's index (moov) sits at the end of the file, so nothing decodes until the last byte. Both are fixed by rewriting the container once, with the content left as it is. Do this where the package is published, never in the learner's browser.

The command needs Node 22 or later. Keep @latest in it: without it, npm on an older Node quietly installs the last version that supported it.

1. Diagnose with a dry run

npx @missing-elements/h5p-normalize@latest course.h5p --dry-run

Read the summary at the end. The media line is the verdict:

Installs
4
GitHub Stars
9
First Seen
Sep 29, 2026