Integrating H5P and Moodle to Enforce Activity Completion Restrictions

Integrating H5P and Moodle to Enforce Activity Completion Restrictions

De Abreu Alexandre -
回帖数:5

Goodafternoon Mrs and Mr 

My Team and I are seeking assistance with integrating H5P activities and Moodle’s restriction settings. Despite setting up specific conditions in both Moodle and H5P for students to achieve a minimum number of correct answers before progressing, Moodle does not seem to enforce these restrictions properly. Currently, students can proceed to the next activity regardless of their performance in the previous H5P activity. This issue persists even when the H5P activity itself is configured to require a certain number of correct answers for completion. We are looking forward for your guidance on how to establish clear and effective communication between H5P and Moodle to ensure that students must meet the necessary requirements before advancing. Any insights or solutions would be greatly appreciated!

Thank you!

平均分:Useful (2)
回复De Abreu Alexandre

Integrating H5P and Moodle to Enforce Activity Completion Restrictions

John Provasnik -
Particularly helpful Moodlers的头像 Testers的头像
Do you mind posting a screenshot of how your course page looks where these H5P activities were added? It will be helpful to first see which H5P plugin is being used (Core or 3rd party), and to see what restrict access rules are displaying on the course page.

If you are using Core (blue) H5P, I dont know of any way of selecting a "minimum number of correct answers" as a Restrict Access condition -- I the only one I'm aware of that you could employ here is for the first H5P activity is to set a maximum Grade and then set a Grade to pass value, and then in the next H5P activity, you add a Restrict Access condition of "Activity completion" ... and select that the previous H5P activity "must be marked Complete with a pass grade".
回复John Provasnik

Re: Integrating H5P and Moodle to Enforce Activity Completion Restrictions

Dave Sherwin -

John - I just noticed the same behavior when creating some material for our New Teacher Orientation. Moodle did not enforce the restriction to next resource/activity. However instead of displaying the content for simply having the content marked completed either with a passing or not passing grade. Moodle would not display the content unless the student earned a passing grade. 

The first H5P (plugin) is set to have a passing grade. This way it used to display the Red X for attempted but not with a passing grade. AND the other 2 events with restrictions would then display. We just want the student to get to the next step in the topic. The purpose was for student to be able to continue and make the responsible decision to go back and make a responsible decision to re-attempt the H5P activity to get the Green Check. Trying to build student agency.

Below are the screenshots of the current restrictions and grading scores for the H5P Activity which should open both the book and quiz activity. Moodle 4.3.4+ (Build: 20240425)

附件 MoodleRestrictionIssue.png
回复Dave Sherwin

Re: Integrating H5P and Moodle to Enforce Activity Completion Restrictions

John Provasnik -
Particularly helpful Moodlers的头像 Testers的头像
Hm. that all looks correctly set up... Suggestion for further testing, create a test-assignment with the same completion conditions (Receive a grade - any grade), and restrict it to a test Book activity with the same Restrict access ("Activity completion "test-assignment" must be marked complete). Then run through it with a demo student account -- see if that works as expected. If so, then could be something buggy with the H5P. If not, the it could be something buggy with the 'Require passing grade' feature... but it would be helpful either way to know.
回复John Provasnik

Re: Integrating H5P and Moodle to Enforce Activity Completion Restrictions

Dave Sherwin -
Just created test-quiz with the completion settings to (receive a grade any grade) to only the Book activity to with Restrict access (activity completion 'test-quiz' must be marked complete) and ran it through the student demo account. Unfortunately got the same buggy results as the H5P. So it must related to 'Required passing grade' feature.
 
The first image displays that the student demo did receive a grade with both attempts. The first attempt Failed without the book opening and the second attempt Done with the book opening. However, the activity card completion appeared the same if your attempted was passing or failed. In earlier versions that would have been a green check or a red X.
 
The second image displays the activity settings to check I didn't make any errors in testing.
附件 ActivityReleaseStudentView.png
附件 ActivityReleaseTeacherView.png