H5P activity

Revision as of 13:36, 10 August 2020 by Mary Cooch (talk | contribs) (updating and WIP)

Jump to: navigation, search

New feature
in Moodle 3.9!

What is an H5P activity?

The H5P activity enables H5P content created in the Content bank or on h5p.com to be easily added to a course.

Overview of the H5P activity


How is it set up?

  1. In a course, with the editing turned on, choose 'h5P' from the activity chooser.
  2. Give it a name and, if needed, a description.
  3. Expand the sections to.. WIP..
    • upload a new activity (file extension .h5p) from the file picker or
    • locate and upload an existing .h5p file from the file picker > content bank or
    • click the link "Use the content bank (opens in a new window) to manage your H5P files" and, from the new window, create a new H5P activity, save it, return to the H5P activity settings and upload the file from the content bank.

Remember that if you add the content as an alias, any content edition will update this instance; but if you add it as a copy changes won't be applied. See Working with files for more details.


There are 4 capabilities relating to the H5P activity:

Migrating activities from mod_hvp to mod_h5pactivity

The mod_hvp plugin (mod_hvp) is a third-party plugin created and maintained by Joubel. Since 3.9, a new H5P activity (mod_h5pactivity) has been developed and included in Moodle LMS core.

For migrating content from mod_hvp to mod_h5pactivity, a migration tool has been created. It can be downloaded and installed from https://moodle.org/plugins/tool_migratehvp2h5p. This tool will allow admins to choose the mod_hvp activities to migrate to mod_h5pactivity and what to do with the original activity once migrated (hide it, delete it or leave as it is). When using it, a new mod_h5pactivity will be created and the student results will be copied too.

The migration tool can be executed as a regular admin tool from the site administration menu or via terminal (CLI) in case the instance has a big number of mod_hvp to migrate. You can find more information on how to execute the migration tool in the plugin description

There are some limitations to consider before using the migration tool to copy activities from mod_hvp to mod_h5pactivity:

  1. Currently it's still not possible to save the current status with the mod_h5pactivity. The mod_hvp supports it (although it's disabled by default) so, before migrating the activities, consider students might loose these unfinished attempts.
  2. The new mod_h5pactivity hasn't any global settings to define the default behaviour so general settings defined in mod_hvp, such as the default display options or whether to use or not the hub, are not migrated.
  3. The new mod_h5pactivity doesn't support (at least for now), H5P styles (hvp_alter_styles): MDL-69087

Migration tool

See also

  • H5P for more information on H5P in Moodle
  • H5P forum on moodle.org - for any questions you may have