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.
1466 sites
74 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.

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 Mike Wilday
    Tue, 7 Mar 2017, 7:58 AM
    This is a great plugin. It would be awesome if you could allow for setting a point value for a completed item. Rather than have to set up calculations in the gradebook.
  • Picture of Frode Petterson
    Tue, 7 Mar 2017, 4:55 PM
    @Christopher Blake Please double check that you're using the latest version of the plugin. After that, download the attached .h5p file from and upload it to the H5P Libraries page (/mod/hvp/library_list.php). This will ensure that all the content types are up-to-date.
  • Picture of Frode Petterson
    Tue, 7 Mar 2017, 4:57 PM
    @Mike Wilday I'm not 100 % sure of what you mean, but have you tried changing the 'Maximum grade' field when editing the activities? If the field isn't present make sure you're running the latest version.
  • Picture of Konna Geo
    Fri, 10 Mar 2017, 12:03 AM
    This is one of the Coolest plugins ever! You have done an amazing job! Many thanks for sharing.
    A quick question: Can we export i.e. the documentation in PDF format?

    Thanks again!
  • Picture of Thomas Marstrander
    Fri, 10 Mar 2017, 4:50 PM
    Hi Konna Geo, I'm really happy that you're enjoying the plugin.
    Are you refering to the documentation on ? There is currently no way to export all the documentation in a tidy format, though I can imagine this would be useful for training purposes. Please let us know in the H5P forum if you have any comments, feedback or feature requests:
  • Picture of Yael Z
    Sun, 12 Mar 2017, 5:31 PM
    We are using Moodle 2.8.5 and get an error -
    SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
    var language = JSON.parse(libraryData.language);

    We've been upgrading in the last few months to the new versions, but the error still appears

    Can you please help?

    Y Z
  • Picture of Thomas Marstrander
    Mon, 13 Mar 2017, 4:28 PM
    Hi Yael Z, please post the bug report on the H5P forum at:, along with what library you are trying to load and what version of it you are using (this can be found in the H5P Libraries settings).
    Thanks for the report, but please post any bug reports to the forum where they are more easily discovered and you can get quicker help.
  • Picture of Mike Wilday
    Thu, 16 Mar 2017, 12:35 AM
    Would it be possible to add the Custom CSS hooks to this plugin so that we can edit and modify the css in the Moodle integration? We'd love to be able to edit the css to stylize the colors of the item but alas, our host moodlerooms does not allow tinkering with the code. Including a CSS modification space in the settings for this plugin would be great to allow us to be able to update as needed.
  • Picture of Tom Arild Jakobsen
    Thu, 16 Mar 2017, 2:16 PM
    @Mike Wilday This feature is already in place. You can read more about it in the H5P documentation here:
  • Picture of Mike Wilday
    Fri, 17 Mar 2017, 1:28 AM
    @Tom Arild Jakobsen It would be great to make this part of the plugin, write the hooks into the plugin. We are on a hosted solution of Moodle and we cannot add these hooks ourselves. Having them integrated into the plugin would allow us to do the custom css because Moodlerrom (our host) doesn't allow any access to the code. Making it part of the plugin would allow this feature for all hosted solutions that only use approved plugins.
  • Picture of Tom Arild Jakobsen
    Mon, 20 Mar 2017, 4:24 PM
    @Mike Wilday Thanks for the feedback. You might want to head over to the feature request forum on, and post your suggestion there. Then it's more likely to be remembered (for feature planning later)

    - Tom
  • Picture of Eduardo Hm
    Wed, 22 Mar 2017, 8:21 PM

    We have a Moodle platform in version 3.1.1 (Build: 20160711). The 2017031300 version of the H5P plugin has been installed. It is a very powerful plugin to which you can draw a lot of performance to the activities within the courses of the platform. We have detected an error that occurs over any type of content that has been created. The problem is when you want to download that activity created in the Moodle platform to take it to other courses, it gives the following error in Moodle debug mode:

    Debug info: ERROR: invalid input syntax for integer: "4.h5p"
    , Hc.intro
    , Hc.introformat
    , Hc.json_content
    , Hc.filtered
    , Hc.slug
    , Hc.embed_type
    , Hc.disable
    , AS library_id
    , Hl.machine_name
    , Hl.major_version
    , Hl.minor_version
    , Hl.embed_types
    , Hl.fullscreen
    FROM mdl_hvp hc
    JOIN mdl_hvp_libraries hl ON = hc.main_library_id
    WHERE = $ 1
    [Array (
    0 => '4.h5p',
    Error code: dmlreadexception
    × Stack trace:
    Line 474 of /lib/dml/moodle_database.php dml_read_exception thrown
    Line 244 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database-> query_end ()
    Line 794 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database-> query_end ()
    Line 1527 of /lib/dml/moodle_database.php: call to pgsql_native_moodle_database-> get_records_sql ()
    Line 912 of /mod/hvp/classes/framework.php: call to moodle_database-> get_record_sql ()
    Line 288 of /mod/hvp/lib.php: call to mod_hvp \ framework-> loadContent ()
    Line 4609 of /lib/filelib.php: call to hvp_pluginfile ()
    Line 37 of /pluginfile.php: call to file_pluginfile ()

    Thank you very much first of all and congratulations for this wonderful module.
  • Picture of Thomas Marstrander
    Wed, 22 Mar 2017, 10:05 PM
    Hi Eduardo, thanks for the bug report, this seems to be an issue only affecting some databases. I have created an issue for it at: . If you have any further questions please take them to the forum where it is easier to follow them up than in this comment field. Thanks smile
  • Picture of Eduardo Hm
    Wed, 22 Mar 2017, 10:22 PM
    Thank you very much for the reply.

    I hope it will be resolved as soon as possible.
  • Picture of Eduardo Hm
    Thu, 23 Mar 2017, 7:52 PM
    Solved!!!!! Greatful!!! smile
1 2 3 4 5
Please login to post comments