moodle-mod_hvp
moodle-mod_hvp copied to clipboard
content not displaying when switching types in hub editor
Issue:
When adding or editiing a H5P activity, the hub editor displays the content window fine and you can interactive and save. Issue is when switching between different content types in the hub editor where the content does not load, it just displays ‘loading please wait’. Even after a few minutes the same is just displayed. The workaround is to save the page and edit again to see the content window.
console-export-2022-8-4_19-22-10.txt
Replicate issue: moodle 3.11.8 clean install php 7.4 h5p stable branch
- log into moodle > navigate to a course
- turn editing on > add an H5P activity
- choose 'interactive book' content type > content loaded

- chose 'interactive video content type > content does not load

Workaround:
- steps 1-4 above
- click save and display > empty Interactive book is displayed

- edit activity > interactive book is now displaying

@ehsan42 Already fixed in https://github.com/h5p/h5p-editor-php-library/pull/144 but obviously not released yet.