How H5P in Moodle loads libraries?
Submitted by Mpox on Tue, 12/17/2024 - 09:22
Forums:
Hi
The question is how Moodle h5p-activity loads libraries/components? Let's say that i have .h5p package that has some components and I upload these to Moodle as h5p-activity. It seems that Moodle does not load some of the components from the uploaded.h5p file (e.g. H5P.Image-1.1). My guess is that Moodle/H5P must use some server side components instead by default. Is there a way to force moodle/h5p to force loading these components from the uploaded h5p-package?
Summary:
How H5P in Moodle loads libraries?
otacke
Tue, 12/17/2024 - 23:28
Permalink
The section "What happens
The section "What happens when I upload H5P content?" at https://snordian.de/2022/12/31/why-cant-i-upload-h5p-content/ should answer your first question.
You can make the H5P core reinstall libraries with the same version (down to the minor version) by setting
in moodle's PHP configuration file for the H5P plugin, but I doubt that this will work with moodle's own custom H5P integration.