-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.0.4, 4.4
-
MOODLE_400_STABLE, MOODLE_404_STABLE
-
5
We've already received several complains from different inputs about some H5P packages not working in the Moodle app because of dependency problems. E.g. I have a package that uses H5P.ImageHotspots 1.9 and this library requires H5PEditor.ColorSelector 1.3, but the H5P package only includes H5PEditor.ColorSelector 1.2.
This issue usually doesn't affect LMS because LMS can automatically upgrade installed libraries, and also deploying an H5P package with a newer library version affects all the packages in the site. However, the app only "installs" the libraries of the H5P packages that are downloaded to that device, and it doesn't auto-upgrade any library so it's more likely to be affected by this issue.
I've talked with Sara about this in the past and we don't know where does the problem come from. Right now the only solution is to manually edit the package in the content bank and save it again (without changing anything), this re-creates the H5P file with the right libraries. So we thought it would be nice to have a way to automatically fix this problem.
One possible solution could be to automatically fix packages when some action happens. E.g. when the package is deployed to the site, or during the core_h5p_get_trusted_h5p_file WebService call (the app uses this WS before downloading an H5P file).
It could also be interesting to have some task to automatically fix packages already deployed in the site so teachers/admins don't have to manually fix them 1 by 1 using the content bank.
- is duplicated by
-
MDL-76434 H5P exports cannot include multiple versions of the same library
- Closed