Activities: Interactive Content – H5P

Maintained by Picture of Frode Petterson Frode Petterson, Picture of Thomas Marstrander Thomas Marstrander, Picture of Pål Jørgensen Pål Jørgensen, Picture of Svein-Tore Griff With Svein-Tore Griff With
Create and add rich content inside your LMS for free. Some examples of what you get with H5P are Interactive Video, Quizzes, Collage and Timeline.
6142 sites
190 fans

One of the great benefits with using H5P is that it gives you access to lots of different interactive content types.

Another great benefit with H5P is that it allows you to easily share and reuse content. To reuse content, you just download the H5P you would like to edit and make your changes – e.g. translate to a new language or adjust it to a new situation.

H5P is:

  • Open Source
  • Free to Use
  • HTML5
  • Responsive

Note that it is currently possible for people with programming skills to cheat in H5P interactions and obtain the full score without knowing the correct answers. H5Ps must not be used for exams or similar.

The H5P community is actively contributing to improve H5P. Updates and new features are continuously made available on the community portal

View our setup for Moodle to get information on how to get started with H5P.

GDPR Compliance

Information useful to help you achieve GDPR compliance while using this plugin can be found at's GDPR Compliance page.


This plugin is part of set Gamification.

Potential privacy issues

The plugin is set up to automatically download content types and provide anonymous usage data which can be disabled through settings.


Screenshot #0
Screenshot #1
Screenshot #2


Picture of Frode Petterson
Frode Petterson (Lead maintainer)
Picture of Thomas Marstrander
Thomas Marstrander: Developer
Picture of Pål Jørgensen
Pål Jørgensen: Developer
Picture of Svein-Tore Griff With
Svein-Tore Griff With: Developer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Gary Lynch
    Tue, 13 Mar 2018, 10:47 PM
    Thanks Thomas.
    Here is our senario.. We use vimeo (pro) account.. we hide our videos on our account and allow access only to our moodle site url. When we paste the vimeo direct url the plugin comes back with Unknown Video format. We are trying to avoid direct upload to our moodle instance. checked the link you provide (thank you) but not very helpful. Can our senario work?
  • Picture of Thomas Marstrander
    Thu, 15 Mar 2018, 9:57 PM
    Hi Gary, You can try the following, it should give you a direct path/URL to the video so you can avoid direct upload to Moodle. What video format is the video you're using ? I know some users have added a "helper"/hint so H5P can understand what kind of video format it is, see for instance, where it is suggested to add #.mp4 at the end of the url. Hope this helps. If you run into more trouble please post a message on the forums where it is more likely that you'll get help quicker, rather than in this comment field. Best of luck, Thomas
  • Picture of Dinis Medeiros
    Tue, 20 Mar 2018, 7:35 AM
    How can i upload PT european translation? Can i send it by email?
  • Picture of Thomas Marstrander
    Fri, 23 Mar 2018, 9:12 PM
    Hi Dinis, this depends on what you're translating. You can find all info on contributing translations in our contribution guide:
  • Picture of Iván Sibillà
    Tue, 10 Apr 2018, 7:16 PM

    - Moodle 3.4.1
    - php-7.1
    - oracle 11g
    - H5P (

    We found an error at the time of performing the SQL query to show the results: Error: ORA-00979 (

    And we have modified the following lines: /hvp/classes/results.php

    > IN LINE 194:
    // parser $fields
    $fieldsgroup = preg_replace("/AS [a-zA-Z_]*\, /", ", " ,$fields);

    > IN LINE 199
    //$groupby = ' GROUP BY,, i.iteminstance,';
    $groupby = ' GROUP BY, '. $fieldsgroup .' g.rawgrade, g.rawgrademax, g.timemodified,, i.iteminstance';

    > IN LINE 212 as xapiid,

    The modifications would look like this:
    // parser $fields
    $fieldsgroup = preg_replace("/AS [a-zA-Z_]*\, /", ", " ,$fields);

    // Join on xAPI results.
    $join .= ' LEFT JOIN {hvp_xapi_results} x ON i.iteminstance = x.content_id AND g.userid = x.user_id';
    //$groupby = ' GROUP BY,, i.iteminstance,';
    $groupby = ' GROUP BY, '. $fieldsgroup .' g.rawgrade, g.rawgrademax, g.timemodified,, i.iteminstance';

    // Get from statement.
    $from = $this->get_from_sql();

    // Execute query and get results.
    return $this->get_sql_results("
    g.timemodified, as xapiid,
    ", $args,

    We would like the H5P team to review the code, confirm that the modification is correct (if there is another more optimal query, we would appreciate being told) and that it will be applied for future versions.

    Thank you so much for everything.


    Iván Sibillà

    P.S. Is there any way to access the results without having to go through the "Gradebook"?
  • Picture of Thomas Marstrander
    Wed, 11 Apr 2018, 3:58 PM
    At first glance it seems reasonable that the groupby should contain the same fields as the select, however I'd like to have a closer look at this to see if the details makes sense.
    Could you please make a pull request for this at the github page for the H5P Moodle plugin ( ), or post in our bug request forum (on which is a more suitable medium for resolving the issue than this comment field. I'll make an issue for reviewing and fixing this when it is into the system.
    The results are stored using the Gradebook, so they must be accessed from there as well. Is there a particular reason why you would not want to go through the gradebook ?
    Thanks for reporting this, and best regards, Thomas.
  • Picture of Miguel ARBELAEZ TORRES
    Wed, 18 Apr 2018, 1:42 AM
    Hello Thomas, i installed H5P and everything worked perfectly, the problem was when i tried to use a theme called "Moove", the CSS dissappeared completely, i wonder how do i fix this or if theres any compatible theme that works with H5P. Thanks!
  • Picture of Thomas Marstrander
    Thu, 19 Apr 2018, 7:07 PM
    Hi Miguel,
    I just tested H5P with the "Moove" theme, and it looks like normal H5Ps works just fine, could you be more specific about what is failing, and create an issue for it in the forums:, which is better suited for handling support requests then this comment field. H5P should be built to be compatible with most themes.
    Thanks, Thomas
  • Picture of Miguel ARBELAEZ TORRES
    Sat, 21 Apr 2018, 3:35 AM
    Hello Thomas, thank you for the quick responde, i actually was able to solve it uninstalling both and installing first H5P then Moove.
  • Picture of Rob Bobeldk
    Mon, 30 Apr 2018, 7:38 PM
    Has anyone successfully worked with h5p content in Mobile Moodle?
  • Picture of S Moodle
    Thu, 14 Jun 2018, 4:02 AM
    Works great in Moodle 3.3.x.
    Question: Is there a plan to put in a due date for the activity? Would be nice for it to show up in the calendar..
  • Picture of Thomas Marstrander
    Fri, 22 Jun 2018, 5:22 PM
    I agree, that would be amazing smile There are no plans for adding this yet as far as I know. We accept pull requests at github:, and feature requests at: The most popular feature requests gets priority when introducing new features.
  • Picture of Nicolas Dunand
    Fri, 22 Jun 2018, 5:25 PM
    Thomas, actually the PR exists since last October ( ) and so does the actual feature request on your forums:
  • Picture of Thomas Marstrander
    Fri, 22 Jun 2018, 5:50 PM
    You're right, thanks Nicolas. Unfortunately this feature is not much requested so it has not received priority yet. I'll try to get it prioritized for one of the next sprints since it seems well written, low-risk and ready for merging. Thanks again, and sorry for the slow process.
  • Picture of Nicolas Dunand
    Fri, 22 Jun 2018, 7:47 PM
    Thanks Thomas for your answer, and also many thanks for sharing your great H5P tools!
1 2 3 4 5 6 7 8 9 10
Please login to post comments