We want to automate updating h5p content. We had a idee to achieve this via file system repository and "link to file". But when we tried that we got a error.
- Setup a File system repository: https://docs.moodle.org/401/en/File_system_repository (we picked this so we can upate h5p content via scripts)
- When creating a course. and pick a h5p activity from the file system repository. We select "link to file". (In the hope that if that files is updated. it will pick the latest version.)
- After i click "save and display i get to following error:
The version of Moodle I am using is: moodle 4.0.3 (build: 20220822). via bitnami container.
That you can use "link to file" from a File system repository to h5p content.
And when I use link to file, and the file is updated in file system repository, the h5p content is updated.
Is there a alternative for updating h5p content via script. without manual actions?