## Activities: Interactive Content – H5P

mod_hvp
Maintained by Frode Petterson, Thomas Marstrander, Pål Jørgensen, 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.
3647 sites
122 fans
Moodle 2.7, 2.8, 2.9, 3.0, 3.1, 3.2, 3.3

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 H5P.org.

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

### Sets

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.

### Contributors

Thomas Marstrander: Developer
Pål Jørgensen: Developer
Svein-Tore Griff With: Developer

### Awards

• Fri, 30 Jun 2017, 5:48 PM
Hi Paul,
This is indeed an unexpected behaviour. Grade items idnumber was set to the id of the H5P content, instead of retaining its current id. I have fixed this for Moodle now, and it should be included in the next release.
Thank you for reporting this, please let us know if you run into any further problems at the H5P.org forums where we'll be able to have a dialog and thus help you more accurately.
Thanks, Thomas.
• Mon, 3 Jul 2017, 10:10 AM
• Wed, 26 Jul 2017, 3:07 AM
git-Version and zip-version are different
$plugin->version = 2017050300;$plugin->requires = 2013051403;
$plugin->cron = 0;$plugin->component = 'mod_hvp';
$plugin->maturity = MATURITY_STABLE;$plugin->release = '1.2';

The zip-Version with same version.php works fine.
• Wed, 26 Jul 2017, 7:11 PM
Hi Andreas,
I'm not sure what you mean.
The plugin version 2017050300 belongs to version 1.2 of the H5P plugin.
Checking out the 1.2 tag in git gives the same version in version.php.
'master' branch of git is the development branch so it will quite often be out of sync with the latest zip-version, which is the latest stable release.

Please post any further questions at the H5P.org forums, which are more suited for following up questions, support or bug reports then this comment field. Thanks.
• Wed, 9 Aug 2017, 2:22 PM
I have installed the plug in H5P and when I am trying to install any content type I am getting an error message "Failed to Download the requested H5P", please assist.
• Wed, 9 Aug 2017, 5:26 PM
Hi Syam,
As the error say you are unable to download the given H5P from the H5P API or you are not able to save it to your system. Closer inspection must be done to figure out exactly why, it could for instance be that your server is not configured to allow download of packages or that your server is not permitted to save files to your system.

Please post any further questions at the H5P.org forums, which are more suited for following up questions, support and bug reports then this comment field. Thanks.
• Wed, 9 Aug 2017, 5:30 PM
Hi Thomas,
Could you please tell on the server how can I check whether the download package is enabled or not...
• Thu, 10 Aug 2017, 3:07 PM
Hi Syam,
You can try to upload a content type from H5P.org using the guide found at https://h5p.org/documentation/for-authors/the-basics.
If this does not work, or you have any further questions please take them to the H5P.org forums: https://h5p.org/forum, where it is more convenient to follow you up. Thanks.
• Thu, 21 Sep 2017, 7:58 PM
Thanks for the great things you are building. I have one remark/question/error....
I just started using the 'interactive video' in Moodle and found that even when the 'loop the video' is not checked, the video will restart after it is finished. Am I doing something wrong?
• Fri, 22 Sep 2017, 4:55 PM
Hi Nick, I'm able to reproduce this with a Youtube video. I have create an issue for it in the public issue tracker: https://h5ptechnology.atlassian.net/browse/HFP-1527. In the future, please create an issue in the H5P.org forum https://h5p.org/forum, which is better monitored and better equipped to deal with support or bug reports.
Thanks for the feedback!
• Thu, 5 Oct 2017, 2:44 PM
Hi Thomas,

I tried out H5P plug in, Very interactive, wanted to use in our course. Just one suggestion, can you please add the report for the each student attempt like moodle quiz, where you can track question by question weather student is finding it difficult to answer that particular question. So we can track & update or change the question which is difficult. Currently it is directly showing the score only. not detailed report of student attempt.

It will be very good and interactive activity, If you could incorporate the same.

Regards,
Harish
• Thu, 5 Oct 2017, 4:11 PM
Hi Harish,
Thank you for your suggestions, it is a great idea Please feel free to post this in the "feature request" (https://h5p.org/forum/16) forum on H5P.org, where it will be possible to prioritize the issues that are most important to the community.
It is currently possible to do this with the detailed xAPI events H5P sends out, but the storing and analysis of data is currently left to an LRS' or similar systems. You can read more about how you can use this at: https://h5p.org/documentation/for-authors/analyzing-results-and-answers.
I agree that a tighter integration with the h5p reports would be an easier to use approach though, hopefully we can do this somewhere down the road.
Thanks for the feedback!
• Mon, 16 Oct 2017, 11:09 PM
Hi Thomas

Having upgraded to version 1.5 of the plugin on Moodle 3.2 I now get the error that the function H5PCore::getLocalization() doesn't exist. This is in various places.

I've tried using the ZIP downloads from both this site and GitHub with the same results. An 'fgrep' of the codebase appears to show only one occurrence of the string 'getLocalization' - where the function is called in 'locallib.php'.
• Tue, 17 Oct 2017, 3:24 PM
Hi Peter,

When I download the plugin from this page, I see no problem when inspecting code. I.e, getLocalization is defined in hvp/library/h5p.classes.php. If you pulled the repo from github, you would also need to checkout the submodules, but I wouldn't recommend fetching the plugin from github.

Please retry with the module found here on moodle.org

Best,
Pål
• Wed, 18 Oct 2017, 4:10 PM
Hi Pål

Many thanks. My problem did stem from getting the first ZIP file from GitHub.

All OK now.

Best regards

Peter