Upload my H5P library to moodle
Submitted by ririgg12345 on Sat, 04/10/2021 - 02:33
Forums:
Hi,
I am a developer, I want to load my h5p type of tasks (my own library) in moodle, when I testing the library in drupal 7, everything loads and displays successfully, but I have a problem adding my content type to moodle. I got the following message:
Note that the libraries may exist in the file you uploaded, but you're not allowed to upload new libraries. Please contact your administrator. missing-required-library : Missing required library (my h5p library)
Maybe someone came across a similar situation and can offer a solution?
otacke
Sat, 04/10/2021 - 08:08
Permalink
Hi!Have you checked what the
Hi!
Have you checked what the message suggests - checking whether the user that you're logged in as when uploading the file has the permission to install H5P libraries?
Is it a content file that you are uploading (then done via the H5P Hub) or is it a library file (then done via the library settings page)?
Best,
Oliver
ririgg12345
Sat, 04/10/2021 - 12:51
Permalink
I logged into moodle as
I logged into moodle as administrator and upload my .h5p file there with: Content bank/ upload/ ...
ririgg12345
Sat, 04/10/2021 - 12:52
Permalink
I logged into moodle as
I logged into moodle as administrator and upload my .h5p file there with: Content bank/ upload/ ...
otacke
Sun, 04/11/2021 - 09:11
Permalink
Hi!You may have to ask on the
Hi!
You may have to ask on the moodle forums then. The H5P integration into moodle core including the content bank was not done by the H5P core team, but by the moodle team - so it's more likely someone there knows why the file works when uploading using the H5P plugin (on Drupal) but not using moodle's integration (via the content bank). At least I am not familiar with the peculiarities of moodle's integration.
Best,
Oliver
otacke
Sun, 04/11/2021 - 09:16
Permalink
Addendum: I can only guess
Addendum: I can only guess that moodle possibly never installs missing libraries from within H5P files that are uploaded via the content bank but requires you to upload the file on the H5P settings page where you could upload H5P library files as well.