Skip to content
Back to skills

H5p Patterns

ASecurity

Create interactive H5P content for Moodle and web platforms. Use when building interactive exercises, quizzes, or multimedia learning content.

  • 755 stars
  • 0 votes
  • 8 copies
  • 58 views
  • Added February 8, 2026
educationphp

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill h5p-patterns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of H5p Patterns?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for H5p Patterns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-h5p-patterns/badge)](https://www.skillsdirectory.com/skills/majiayu000-h5p-patterns)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: h5p-patterns
description: Create interactive H5P content for Moodle and web platforms. Use when building interactive exercises, quizzes, or multimedia learning content.
allowed-tools: Read, Write, Grep, Glob
---

# H5P Integration Skill

Embed and style H5P interactive content in Cloodle.

## Trigger
- H5P content requests
- Interactive element creation
- H5P embedding in Kirby or Moodle

## H5P in Moodle
H5P activities are native in Moodle 4+. Key features:
- Interactive Video
- Course Presentation
- Question Sets
- Branching Scenarios

### Embedding in Moodle Page
```html
<div class="cloodle-h5p-wrapper">
    <iframe src="/mod/h5pactivity/embed.php?id=123"
            class="h5p-iframe"
            allowfullscreen>
    </iframe>
</div>
```

## H5P in Kirby
Use iframe embedding with public H5P URLs:

```php
<?php snippet('h5p-embed', ['id' => $block->h5pId()]) ?>
```

### Snippet Template
```php
<div class="uk-card uk-card-default uk-card-body cloodle-h5p">
    <iframe
        src="<?= $moodleUrl ?>/mod/h5pactivity/embed.php?id=<?= $id ?>"
        class="uk-width-1-1"
        style="border: none; min-height: 400px;">
    </iframe>
</div>
```

## Styling H5P
```scss
.cloodle-h5p-wrapper {
    border-radius: $cloodle-border-radius;
    overflow: hidden;
    box-shadow: $card-box-shadow;

    iframe {
        width: 100%;
        min-height: 500px;
        border: none;
    }
}
```

## Content Types for Education
| Type | Use Case |
|------|----------|
| Interactive Video | Lecture with quizzes |
| Course Presentation | Slide-based learning |
| Question Set | Assessment |
| Dialog Cards | Vocabulary/flashcards |
| Timeline | Historical content |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in education →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.