## 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.
1963 sites
87 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 H5P.org.

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.

### Contributors

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

### Awards

• Thu, 13 Apr 2017, 11:23 PM
Hi everobody, i updated H5p yesterday and have now this message. C:\moodle\server\moodle\mod\hvp\library\h5p.classes.php on line 2983 . Do you have any idea or issue for this problem ? Moodle 3,2
• Fri, 14 Apr 2017, 2:02 AM
I'm sorry to hear this. What error did you get from that line? Could you check what your values for post_max_size and upload_max_filesize is in PHP.ini? I looked at that line and it seems we might struggle if the values provided(or not provided) is on a less common form. Please report back.
• Fri, 14 Apr 2017, 4:02 AM
We changed the post_max_size to 250 mo of the file size as we are using vidéos
• Fri, 14 Apr 2017, 4:12 AM
Ok, what error message did you get? I see it is from line 2983, but does the message include more info?
• Mon, 17 Apr 2017, 1:10 AM
Hi All,
I have the same warning in my Moodle (version 3.2.2+) and version 7.1.2 oh php. This is the warning recieved
Notice: A non well formed numeric value encountered in /data/www/moodle/mod/hvp/library/h5p.classes.php on line 2983
• Mon, 17 Apr 2017, 2:04 AM
This warning can be resolved if I rewrite the line 2981, 2983 and 2985 as:
$val = (int)$val * 1024;

I think this is a php 7.1 issu. See here: https://wiki.php.net/rfc/invalid_strings_in_arithmetic
• Tue, 18 Apr 2017, 2:35 PM
Hi Gabriel,

Thank you for giving us the actual message and a possible solution We will fix this in the next Moodle version.
• Tue, 18 Apr 2017, 7:27 PM
Hi! In Moodle 3.2.2 using Boost (or Boost based themes) the editor doesn't render in width: 100%. Instead, it only shows 25-33 % of the assigned area, making it virtually impossible to properly use the editor.

is there any way to solve this?
• Tue, 18 Apr 2017, 8:10 PM
@Joost Elshoff - We added a fix for the Boost problem in a release earlier this year. Can you please verify that you are on the latest version of the H5P plugin?

If you are on the latest version. Can you send an email to: "info@h5p.org", containing what browser version you are using, and a screenshot of the problem.

Thanks for reporting

- Tom
• Thu, 20 Apr 2017, 7:14 PM
Excelente!!! Excelente!!! Excelente!!!
• Thu, 27 Apr 2017, 7:00 PM
Hi
I think this is a wonderful plugin, can I just clarify one of the differences between version 1.0 (2017031300) and the latest version 1.1 (2017041200) as 1.0 appeared to have contained several more libraries then version 1.1 was this intentional?

many thanks

Jackie
• Thu, 27 Apr 2017, 7:39 PM
As a note to above, not so important now as I have found the libraries download link.
• Thu, 27 Apr 2017, 9:18 PM
@Jackie Heenan You should have had access to the same content types in both versions. Do you have the "H5P Hub" enabled? Which content types were you missing in 1.1?
-
• Thu, 27 Apr 2017, 9:19 PM
@Jackie Heenan You should have had access to the same content types in both versions. Do you have the "H5P Hub" enabled? Which content types were you missing in 1.1?
- Tom
• Thu, 27 Apr 2017, 9:35 PM
Hi Tom