Interactive Video "save content state" not saving user responses

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.

Thanks 

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.

-BV52

Hello,

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?

Thanks

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.

-BV52

Any update on this? It is definitely still a problem, at least with the WordPress plugin and Interactive Videos (I have not tested it with other content types).

Definitely still a problem for us. I'm going to try to record the problem with a screen capture this week to document what is happening on our end.

Hi,

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)..

Hello,

To provide a video example of this problem still happening, see this 3 minute youtube clip for reference: https://youtu.be/SkIoSuGrI5s

This continues to be a major problem for people at our institution. 

Thanks

...has there been any progress in diagnosing or fixing this bug? This remains a big problem.

BV52's picture

Hi spazfox,

Sadly no, I can't find the triggering factor that is causing this. I tried deleting the contents inside the Course Presentation one by one and results have been inconclusive. There are times that I have it down to a blank CP and then add say 1 True/False to test if it will save it but it won't. There are some test were save content state works after a series of contents have been deleted but when I try to do the same process it still doesn't save after deleting what I thought is the 'trigger' content.

-BV

It looks like Oliver Tacke posted a potential fix for this on GitHub a year ago: https://github.com/h5p/h5p-video/pull/25/commits

Do you know if his commit has been tested? If not, is there any way to get this looked at and incorporated into the code? This really is a huge hassle for a lot of us and makes for a terrible end user experience. Thanks.

 

BV52, can you recommend a workaround? Should we be reinstalling something? Starting from scratch? We have had to spend hundreds of hours separating interactive videos out into standard video slides and standard question slides as a result.

BV52's picture

Hi cbuchanan,

I do not think uninstalling and reinstalling would resolve this issue. I know this because I uninstall Wordpress, Drupal and Moodle almost every 3 months, all are sandboxes and eventually I end up changing something that I cannot fix.

-BV

We are also having problems with save content state not working properly in course presentations that include interactive videos. We're using the Moodle plugin on Moodle v3.2.

I've spent quite a lot of time trying to isolate the problem, but haven't been able to find any clear trigger. It is a major problem for us.

I am getting a console error - image attached.

Attachments: 

Is this being looked into at all? It seems to have been reported a number of times, for course presentations and for interactive videos. Can anyone explain the console error that I've posted above?

xavimir's picture

 First, thanks for your amazing work.

I can say that the interactive books are not saving either. We are using Moodle 3.8.3

This is such a pitty.

Hopefully this will be corrected.

Best Regards

BV52's picture

Hi xavimir,

Interactive Book is still a work in progress and currently it doesn't have this feature yet. No timelines on when it will be released.

-BV

xavimir's picture

Thanks for your response. Thats a pitty, because if is not able to save it will be useless for the most of your users.
It would be good to make clear this information in the desciption of the content type. It will save hundreds of hours of work.

Thanks, again.

Hi,

I need to use something like the interactive book activite type.  This layout would be the best for our students.  It's better than column activite type, considering our purpose.

Some news about feature or timelines? Changes since 2020? Any recommendation or workaround? 

Thanks.

BV52's picture

Hi Lôsangeles Alves,

The "resume" or "save content state" feature for Interactive Book was added almost a year ago. Please refer to the Release Overview for the list of updates to content types. If the resume feature for Interactive Book is not working please make sure that you update the libraries. If the libraries are up to date I'd suggest that you file a bug report.

-BV

Sorry for taking a long time to answer.

We need our student to have the view of attempts like the one in the document attached here.

I'd like to know if you are already developing a solution, like course presentation and column, that could show this to our student.

It needs to be in: Interactive Book / My attempts / View report.

Attachments: 
otacke's picture

Hi!

What feature do you mean? Resuming? That has been implemented quite a while ago.

Best,

Oliver 

Sorry for taking a long time to answer.

I answered in commentary above.