H5P file is not opened in Content bank editor

H5P file is not opened in Content bank editor

by Toms Urdze -
Number of replies: 2

When trying to edit a specific PHP file in the Content bank, the editor window is not opening (other H5P files work fine). I can still add it to a course, but I can't edit it. I have tried different users and browsers. Here is a screenshot:

Screenshot

And here is the error message in the console.

Error console

The Moodle version is 3.11.2

PHP 7.4.3


Can anybody help?


Thanks!

Average of ratings: -
In reply to Toms Urdze

Re: H5P file is not opened in Content bank editor

by Joost Elshoff -
Picture of Particularly helpful Moodlers Picture of Testers
That's more an H5P package and library issue than a Moodle thing, I guess... what kind of H5P content are you trying to upload and where did you create this?
In reply to Joost Elshoff

Re: H5P file is not opened in Content bank editor

by Toms Urdze -
Your post got me thinking, and I found a solution: I opened the branching scenario with H5P in Wordpress, copied the activity, and pasted it into a new H5P activity. I have no problem editing the new file in the Content bank. Thanks for helping!
Average of ratings: Useful (2)