Moodle H5P - Unable to add more than one H5P activity for a resource
Detailed steps to reproduce the bug (exactly how and when did it happen)
- Go to a Moodle course that you have admin permissions to
- Open the Content bank for that course
- Click Upload
- Drag and drop the scs-test-1.h5p file
- Click Save changes
- Click Close
- Repeat steps 3-6 with the scs-test-2.h5p file
- Navigate to the same Moodle course from step 1
- Under any topic, click Add an activity or resource
- Click Page
- For the "Name" call it "Test H5P"
- For "Page content", in the Atto text editor toolbar, click on the H5P button
- Click Browse repositories...
- Click Content bank
- Click on the scs-test-1.h5p file from the content bank
- Select the Create an alias/shortcut to the file radio button
- Click Select this file
- Click Insert H5P
- Notice that an H5P element was added to the Atto text editor
- Click onto the next line after the H5P element
- In the "Page content", in the Atto text editor toolbar, click on the H5P button
- Click Browse repositories...
- Click Content bank
- Click on the scs-test-2.h5p file from the content bank
- Select the Create an alias/shortcut to the file radio button
- Click Select this file
- Click Insert H5P
- Notice that now two H5P elements are in the Atto text editor
- Click Save and return to course
- Click on the page resource that we just created
- Notice that only one H5P element is rendered/visible, while the other one is the plain text to the H5P link (see Figure 1 in the screenshots section)
Platform and version number: Moodle 3.9.5+ (Build 20210312)
Computer Type: Desktop
Browser: Chrome and Edge
H5P plugin version: H5P - mod_h5pactivity - version: 2020061500
H5P content type and version, and a sample URL or attached H5P: Single Choice Set - version: 1.11.19
Any browser console errors: None, see screenshot:
Any PHP errors: None
Screenshots if it's a visual problem:
Figure 1
Any recent changes to the environment (new plugins/modules, updates, configuration changes etc.): None
Any recent changes to the browser you're using (new extensions, updates etc.): None
Related problem I found on the forms: https://h5p.org/node/18860
otacke
Fri, 03/03/2023 - 23:53
Permalink
Hi!You should report that on
Hi!
You should report that on the moodle forums. You are not using the H5P plugin for moodle (that was created by the H5P core team), but moodle's custom H5P integration that was created by moodle HQ (not by the H5P core team).
Best,
Oliver