General discussion

Library.JSON File Discrepancy in H5P: Understanding the 'Invalid JSON Format' Bug

 

  1. The bug materializes during the inclusion of an H5P course presentation file, generated within the Moodle content bank, which is embedded as an activity within a Moodle "book" resource. This method, historically successful, now abruptly triggers the aforementioned error. Despite re-uploading the same file to alternate Moodle instances running the HVP plugin (v1.23), the error persists. This disruption suggests that the H5P.MarkTheWords library’s JSON structure may be encountering validation issues or corruption during processing.

Pages