Interactive Content – H5P icon

Interactive Content – H5P

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.
Price option: Free

Supports Moodle 2.5-4.5 See all versions
Latest release: 1 month ago
Installations: 27643
Downloads (last 90 days): 6809

Frankenstyle name: mod_hvp
Activities
Gamification

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

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: https://h5ptechnology.atlassian.net/browse/HFP-854 . If you have any further questions please take them to the H5P.org forum where it is easier to follow them up than in this comment field. Thanks smile
Hi,
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"
SELECT hc.id
, Hc.name
, Hc.intro
, Hc.introformat
, Hc.json_content
, Hc.filtered
, Hc.slug
, Hc.embed_type
, Hc.disable
, Hl.id 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 hl.id = hc.main_library_id
WHERE hc.id = $ 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.
@Mike Wilday Thanks for the feedback. You might want to head over to the feature request forum on h5p.org, and post your suggestion there. Then it's more likely to be remembered (for feature planning later)
https://h5p.org/forum/16
- Tom
@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.
@Mike Wilday This feature is already in place. You can read more about it in the H5P documentation here: https://h5p.org/documentation/for-developers/visual-changes
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.
Hi Yael Z, please post the bug report on the H5P forum at: https://h5p.org/forum, 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 H5P.org forum where they are more easily discovered and you can get quicker help.
Hello,
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?
Thanks
Y Z
Hi Konna Geo, I'm really happy that you're enjoying the plugin.
Are you refering to the documentation on H5P.org ? 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: https://h5p.org/forum
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!
@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.
@Christopher Blake Please double check that you're using the latest version of the plugin. After that, download the attached .h5p file from https://h5p.org/update-all-content-types 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.
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.
I am using Moodle v3.2.1 and since updating to the H5P library release last week I cannot create a new Interactive video activity. When I try to build one I get an error "The H5P library {$a->%library} used in the content is not valid". What is the best way to handle this?
"We are currently regression testing the new Moodle version, which contains the restore & backup feature. This will be released as an RC. If no serious bugs are reported within a month, we will release it as a stable version."
@Pål Jørgensen Thanks looking forward to it.