Reset H5P components on a per-user basis in Moodle
I am running a course on Moodle and have about 100 H5P interactive videos with about 200-250 interactive tasks total. These videos are split into 6 study units. I use the scores from the tasks as a greading criterion, so I have disabled the retry button as to not allow students to simply view the model answer without thinking and then entering the model answer as their own answer.
However, there are scenarios where I would like to allow an individual student to retake an entire unit. It does not currently seem to be possible to reset H5P on a per-user basis so that they could redo the tasks from a clean slate.
This could be implemented in a couple of different ways, from simple to complex
- Add a button to an individual H5P that allows the teacher to reset that H5P to specific logged in users
- Add a button to the list of H5P content elements where a teacher can reset multiple H5Ps for specific logged in users
- Add a new Moodle content type that allows users to reset all H5P activities on the current Moodle page
The final alternative would have the benefit that it could be configured to appear only after a criterion has been filled, for example when a user has completed all H5Ps on the page. Offering a reset all option would be more useful than reset an individual H5P because it would make it more costly for the students to get the corrent answers by trial and error.