Missing image library in several content types
Hi,
I've noticed that the H5P server leaves out dependencies when exporting H5P packages: the versions of H5P.BranchingScenario, H5P.Column, H5P.CoursePresentation and H5P.InteractiveVideo that you can download from the Hub all don't include H5P.Image-1.0, even though they use it in the content! This means that the content won't be usable unless somebody has already installed the H5P.Image-1.0 library through another content type. This is a problem, as content won't work in several situtations:
1. There's a fresh install and the user only adds this single library. (S)he doesn't understand why images don't work.
2. The content is used in a standalone fashion like h5p-standalone by tunapanda. (no official support for this, so maybe Joubel doesn't worry about it too much)
3. In the future, Moodle will have the capability to insert H5P packages into text fields and. This will display content without actually installing the packages (similiar to tunapanda's approach I think). The content types mentioned above will be faulty then.
As number 3 is a real showstopper, I think the export functionality of the PHP server should be extended to include all dependencies used in the content. (I think the reason why Image-1.0 is not included is that it is not listed in the preloadedDependencies of any used library and thus not added.)
BV52
Thu, 10/31/2019 - 19:17
Permalink
Hi Sebastian,Thank you for
Hi Sebastian,
Thank you for taking the time to check this and posting your observation. I will let the core know so that they can check it.
-BV
icc
Mon, 11/04/2019 - 15:47
Permalink
Hi Sebastian,I did a quick
Hi Sebastian,
I did a quick check on a fresh WordPress site and it does appear that the required H5P.Image-1.1 is included and works for the hub downloads you mentioned. Are you still experiencing this problem?
(If it is working now then there may have been an incorrect dependency that got fixed in the latest update)