H5P requires content-type libraries to run properly. As these libraries can content risky code, only trusted users can upload them (
MDL-67057). So, H5P content uploaded by users won't work if previously the H5P content-type libraries have not been loaded.
There is a scheduled task that fetches these content-type libraries directly from H5P and must be run before uploading any H5P content (
MDL-67058). Additionally, administrators and managers can upload manually content-types using from Site administration > H5P > Manage H5P content types ( MDL-67059).
After a new installation or upgrade of a site, users have to wait until the scheduled task runs successfully for the first time, or until an administrator or manager manually loads the content-type libraries.
To streamline this process, we are pondering several options:
- add a button in the administration interface to fetch the content-type libraries
- change the frequency at which the task is run
- run the task right after installation/upgrade