Video

H5P equivalent

H5P Self-hosted video

When to use

Use Video for a standalone self-hosted clip inside a lesson — intros, demonstrations, or supplemental footage without timed overlays.

Use InteractiveVideo when learners must complete cues at timestamps.

Requirements

  • src must resolve under your embed/media allowlist in production.

  • Optional poster, captions (WebVTT URL), and title for accessibility.

Try it

Documentation demo

Use the Live demo, React, AI prompt, and Packaging / Manifest tabs below. Embedded demos disable telemetry, xAPI, and the LMS bridge. For production delivery, use the CLI template src/courseConfig.ts and LMS Go-Live.

<Video blockId="intro-video" src="/media/phishing-red-flags.mp4" title="Phishing red flags briefing" />

Copy into Cursor, Copilot, or ChatGPT after the vibe coding starter context:

Read lessonkit.json and src/App.tsx before editing.

Add a Video block (H5P-style: Self-hosted video) like this example inside the active <Lesson>:

<Video blockId="intro-video" src="/media/phishing-red-flags.mp4" title="Phishing red flags briefing" />

Requirements:
- Import only from @lessonkit/react; use block types from block-catalog.v3.json.
- Keep existing courseId, lessonId, and navigation stable unless I ask to add a lesson.
- After edits, list changed files and what to verify in the browser (lessonkit dev).

Workflow tips: https://lessonkit.readthedocs.io/en/latest/guides/vibe-coding/prompting-and-workflows.html

See also