Fill in the Blanks" H5P Activities Not Displaying in Trainings

Created on 17 June 2025, 17 days ago

Problem/Motivation

H5P activities of type “Fill in the Blanks” are not displaying within Opigno trainings, despite being fully set up and published. This seems similar to access control issue resolved in https://www.drupal.org/project/opigno_learning_path/issues/3479172 🐛 Learning Path modules page not displaying Active . But that patch did not fix this issue.

Steps to reproduce

  1. Create H5P content of type "Fill in the Blanks" via /admin/content/h5p.
  2. Create an Opigno opigno_h5p activity that references this H5P content.
  3. Assign the activity to a module.
  4. Assign the module to a training (Opigno Learning Path).
  5. Enroll a user in the training.
  6. Log in as the enrolled user and access the training.
  7. Observe that the activity is missing or not rendered.
🐛 Bug report
Status

Active

Version

3.2

Component

Code

Created by

🇺🇸United States GarChris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @GarChris
  • This seems to be an issue with multiple H5P Content types. When using H5P in opigno, it is not properly declared and the content doesn't load. If you use the H5P Module without Opigno it works. So it appears something in the Opigno_H5P module is breaking it.

    H5P Column returns the following errors:
    Uncaught ReferenceError: H5P is not defined
    Unable to find constructor for: H5P.Column 1.11

Production build 0.71.5 2024