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)
- Create Interactive Video in H5P using WordPress plugin
- Make sure "Save Content State" is checked in H5P settings
- Add one or more scored interactions (e.g., multiple-choice questions)
- 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)
- 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
H5P content type and version (if a content type was used), and a sample URL or attached H5P.
- Interactive Video
Any browser console errors
Any PHP errors
Screenshots if it's a visual problem
Any recent changes to the environment (new plugins/modules, updates, configuration changes etc.)
Any recent changes to the browser you're using (new extensions, updates etc.)
Wed, 07/17/2019 - 19:14
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.
Thu, 07/18/2019 - 17:59
Hi to both of you,Would you
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.
Thu, 07/18/2019 - 18:04
Hello,Yes, I can provide a
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.
Mon, 07/29/2019 - 19:15
Is there any more information
Is there any more information I can provide to get some help with this important issue?
Tue, 07/30/2019 - 19:29
Hi cbuchanan,Sorry for the
Sorry for the late response. I've asked assistance from the core since I am unable to reproduce the issue on my side.
Fri, 10/18/2019 - 02:02
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).
Mon, 10/21/2019 - 21:34
Definitely still a problem
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.
Mon, 08/26/2019 - 18:21
A bug in the save content state feature?
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)..
Wed, 10/30/2019 - 20:55
Video example of this problem
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.
Thu, 06/04/2020 - 01:26
...has there been any progress in diagnosing or fixing this bug? This remains a big problem.
Fri, 06/19/2020 - 19:06
Hi spazfox,Sadly no, I can't
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.
Thu, 08/13/2020 - 08:08
Potential fix on GitHub
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.
Fri, 06/19/2020 - 20:18
BV52, can you recommend a
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.
Mon, 06/22/2020 - 18:00
Hi cbuchanan,I do not think
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.
Mon, 07/06/2020 - 12:09
Also having problems with saving content state
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.
Thu, 07/09/2020 - 15:33
Is this being looked into at
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?
Tue, 09/08/2020 - 18:44
The same happens for the interactive book
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.
Tue, 09/08/2020 - 19:13
Hi xavimir,Interactive Book
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.
Wed, 09/09/2020 - 17:18
Information about that on the description
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.
Thu, 04/27/2023 - 00:44
News about "not saving user responses" for the interactive book
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?
Thu, 04/27/2023 - 18:33
Hi Lôsangeles Alves,The
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.
Tue, 05/09/2023 - 16:24
Sorry for taking a long time
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.
Thu, 04/27/2023 - 22:37
Hi!What feature do you mean?
What feature do you mean? Resuming? That has been implemented quite a while ago.
Tue, 05/09/2023 - 16:27
Interactive Book Atempt Report
Sorry for taking a long time to answer.
I answered in commentary above.