h5p-embed-my
Installation
SKILL.md
Embed an H5P activity with Embed My
Embed My turns a link to a .h5p file into an iframe snippet. The
activity runs on Embed My's origin in h5p-offline-player, with no server, no account and no
file on the user's site: the page carries an <iframe> and one script line that sizes it. Use
it when the site cannot host a file of its own; when it can, the h5p-player-setup skill puts
the player on the site itself, which keeps the content and its storage on the user's origin.
1. Check the package URL
Embed My stores nothing. It plays the package from the URL in the snippet, so that URL must:
- point at the
.h5pfile itself, overhttps://, with no login: a download page, a cloud drive's share or preview link, or a page inside an LMS does not work; - send CORS headers, because the frame on
https://embed-my.orgfetches it, not the page around it; - ideally honour
Range, so a large package starts after a few kilobytes instead of downloading whole.