Interactive Video "save content state" not saving user responses

spazfox's picture

There appears to be a problem with the "save content state" feature of H5P and the saving of user's responses to questions embedded in Interactive Video. When partially completing a video and then returning to it, only the user's progress or timestamp in the video is saved -- their responses (whether submitted via the "submit screen" or not) are not saved. In fact, even if the user returns to specific questions they've answered already to answer them again, the submit screen does not seem to accurately record their new answer or updated their score. This can result in a user correctly answering all questions in the video, leaving, returning to complete the video, but then receiving 0 points upon submitting answer using the submit screen.

Detailed steps to reproduce the bug (exactly how and when did it happen)

  1. Create Interactive Video in H5P using WordPress plugin
  2. Make sure "Save Content State" is checked in H5P settings
  3. Add one or more scored interactions (e.g., multiple-choice questions)
  4. Watch part, but not all, of the video and complete at least one question (try doing this with submitting answers via the "submit screen" and without -- it does not seem to make a difference)
  5. Leave and return to video

Platform and version number. E.g. Drupal, Wordpress, Moodle.

  • WordPress 5.2.2

Mobile or Desktop

  • Desktop (have not tested on mobile yet, though I assume it would be the same)

Browser: Chrome, Firefox, Safari etc

  • Tested in Chrome and Firefox so far

H5P plugin version

  • 1.13.1

H5P content type and version (if a content type was used), and a sample URL or attached H5P.

  • Interactive Video

Any browser console errors

  • None

Any PHP errors

  • None

Screenshots if it's a visual problem

  • N/A

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
Content types: 

This issue is a major problem for our institution. We are recieving dozens of complaints from students that the are enrolling in some of our longer H5P-based lessons in moodle, spending several hours making progress through the lesson, taking a break, and then returning to find that all of their progress has been lost. Has anybody found a solution to this so far? We really need it so that progress is tracked on an incremental basis throughout, not just at the submit screen. There simply isn't another option for us, as some of our lessons are 4+ hours long.


BV52's picture

Hi to both of you,

Would you mind providing a sample content/URL, I am unable to reproduce the issue on Moodle, Wordpress or Drupal.



Yes, I can provide a link to our system here. It would seem that this issue is not isolated to just interactive video for us, but that the "save content state" function is not working in general for us anymore, which is a major problem for us.

Is there any more information I can provide to get some help with this important issue?


BV52's picture

Hi cbuchanan,

Sorry for the late response. I've asked assistance from the core since I am unable to reproduce the issue on my side.



I am also experiencing problems with the 'Save content state' feature. I recall it was working fine this last May but since July I started to notice the user responses were no longer being saved. It is also causing problems with the course presentations activities, as when the Save content state is on, the activities do not upload after the students have tried to complete the activity once (after refreshing the page the activity does not load again)..