Problem with Interactive Video - Submitted answers not recording to grade book.

Hello - 

I have recently been having an issue with H5P Interactive Video. My Moodle version is 3.9.1, and my H5P plugin version is 1.21.0. 

I have 10 quiz questions in my Interactive Video. At the end of the video (after all questions have been answered) users arrive to the star icon and are able to submit their 10 answers. When the answers are submitted sometimes the grade gets recorded to the Moodle grade book and sometimes it doesn't.

I have tested submitting the answers numerous times. I can't find any consistencies. Literally sometimes the grade gets recorded and sometimes it doesn't. When the grade doesn't get recorded the course does not log completion. It's become a big problem with the 200 students I have in this course. Does anyone have any suggestions on what I can do? 

Does anyone have any suggestions with this? This glitch is severly affecting me.

Does anyone have any suggestions? This glitch is severly affecting me.

I am also looking for a solution to this. I am using an interactive video with 2 questions....sometimes the grades report to the grade book and other times they do not.  Using MOODLE v 3.9.

otacke's picture

Hi!

Are you using submit screens (https://h5p.org/july-2018-release-note#heading1)? Submitted results via a submit screen is required to transfer results to the host system.

Best,

Oliver 

Yes, users use the submit screen to submit their answers everytime. I also use the submit screen to submit answers in my testing. Grades sometimes do and sometimes do not record in the Moodle gradebook, which affects course completion.

It appears as though I am not the only one experiencing this probiem. Please let me know if I can provide further info. Thanks.

BV52's picture

Hi All,

Can you check if you see any errors in the browser console while you pressing the submit button. It's a longshot but it might be failing at that point. I've tried reproducing this several times with different versions of Moodle and different permissions for accounts but I have never been able to.

-BV

Thanks for the responsiveness. I am not the most literate with it comes to browser inspectors, but I took some screenshots.

Console.1 screenshot - First attempt to click Yes > Finish in Quiz (Question Set) activity

Course Still Incomplete screenshot - Course is incomplete on dashboard

Console.2 screenshot - Second attempt at clicking Yes > FInish to complete the activity

Course Now Complete screenshot - Course is now complete on dashboard

Text in the Console section of my browser seemed to remain the same. No red flags that I could spot. What do you think?

mronkko's picture

I can confirm that this happens on my course as well. I cannot reproduce it on my computer, though.

mronkko's picture

Hi,

Here is a reproducible example. Go to 

https://mycourses.aalto.fi/mod/hvp/view.php?id=623632

1) Answer the first question. The correct answers are 5.29, 8.51, and -3.22. 

2) Click on the submit start and note that it says that the question has 3/3 score

3) Refresh the page

4) Click on the first task circle on the time line and check that the answers are the same as filled in the first step

5) Cick on the submit start and note that it says that the question has 0/0 score.  

After these steps, no matter what I do, I cannot get the answer to the submit screen. If I submit the answer, these scores will not be registered on the Moodle Gradebook. This behavior replicates across all interactive videos that I tested on my course.

I am using Google Chrome on Mac for testing.

Mikko

BV52's picture

Hi Mikko,

If I'm not mistaken your issue has been resolved with this update. Can you please make sure that you are using the most recent version of IV.

-BV

mronkko's picture

I am using the latest version as far as I can tell. I enabled downloading the h5p in the link that I gave. If I download and unzip categorical-independent-variables-2940.h5p, grep Version H5P.InteractiveVideo-1.22/library.json | head -n 3. I can see the following in 

  "majorVersion": 1,

  "minorVersion": 22,

  "patchVersion": 4,

According to the release notes here https://h5p.org/post-hub-releases, this is the most recent version of interactive video.

 

mronkko's picture

This happens with me using 1.22.4 always whend doign the following:

1) Answer a question in interactive video

2) Click on the submit star and note that the question is marked as answered

3) Refresh the page

4) Click on the first task circle on the time line and check that the answers are the same as filled in the first step

5) Cick on the submit star and note that it says that the question has 0/0 score.  

Is it just on our installation or does this reproduce?

I am still experiencing the issue I outlined in this thread. My version of H5P is 1.21.0 and Moodle version is 3.9.1. Do you have any suggestions of need any more info from me? The H5P plugin is very important in my Moodle instance and really need to get it back on track. Thanks for your help here.

BV52's picture

Hi Drew,

I'm sorry for the delay with your issue. I haven't been able to reproduce your issue hence I still have no idea where the problem is coming from. I'll get back to you once I have found something conclusive.

-BV

Hello. Just following up here because I don't want to lose track of this issue. Please let me know if you find anything conclusive, or if there is anything I can do to reproduce the error. Thanks.

We're having the same issue using the H5P D2L Brightspace integration.  I adding 6 interactive videos to a course on the same day/at the same time.  All were set up identically - to send scores - and a grade item was automatically created for each in the course gradebook.  However, only 3 of the IV activities have sent scores to the gradebook or kept score reports.  I tried removing and reinserting 1 of the IV activities and met with the same result. There is no option to submit and it makes no sense why some work and some do not.  

BV52's picture

Hi A.Sapko,

If I'm not mistaken you are using H5P.com to host your contents. Since the LTI connection handles sending the scores differently I suggest that you contact the H5P.com team directly by following the instructions on this page.

-BV

Good afternoon, the same problem, after sending the responses, the results in the report are not displayed correctly, namely: the grades are partially lost. Please tell us how to solve the problem.

Thanks.

I administer a moodle-based LMS (on OpenLMS) for our company and we are having the same issue and I cannot find any resolution. I have seen the issue happen in front of my very eyes...on our own computers but it is a mystery as to how or why it does this. And the problem is getting worse. I would say that at least 30% of the nearly 800 employees have missing scores recorded. Please help.

I administer a moodle-based LMS (on OpenLMS) for our company and we are having the same issue and I cannot find any resolution. I have seen the issue happen in front of my very eyes...on our own computers but it is a mystery as to how or why it does this. And the problem is getting worse. I would say that at least 30% of the nearly 800 employees have missing scores recorded. Please help.

In DigitalOcean there is a 1-click installation of Moodle v3.10.

I've installed it, then installed H5P plugin. Enabled everything following official instructions.

Connected to Open edX site via LTI -> Users can interact with H5P content but after submitting results neither of LMSs shows grades. Tried many H5P activities, in particular: Multiple Choice, Interactive video

Moodle shows

Invalid grade for the user

in it's /admin/tasklogs.php -> sync grades task log:

Execute scheduled task: Publish as LTI tool grade sync (enrol_lti\task\sync_grades) ... started 21:45:02. Current memory use 34.2MB. Starting - Grade sync for shared tool '1' for the course '2'. Skipping - Invalid grade for the user '4' in the tool '1' for the course '2'. Skipping - Invalid grade for the user '3' in the tool '1' for the course '2'. Completed - Synced grades for tool '1' in the course '2'. Processed 2 users; sent 0 grades. Starting - Grade sync for shared tool '2' for the course '2'. Skipping - Invalid grade for the user '6' in the tool '2' for the course '2'. Skipping - Invalid grade for the user '5' in the tool '2' for the course '2'. Completed - Synced grades for tool '2' in the course '2'. Processed 2 users; sent 0 grades. ... used 29 dbqueries ... used 0.013325214385986 seconds Scheduled task complete: Publish as LTI tool grade sync (enrol_lti\task\sync_grades

Hi there.  I'm having the same problem here.  Logged-in user completes a question set but no results are recorded in H5P Results.  Is there any progress on this issue?

Thank you.

 

@ion7 The problem for me was that user that passed the test somehow was identified as a Teacher and Teachers do not receive grades. I manage to solve this by going into course settings in Moodle and changing the user roles to Students. It should help.

Look for your logs to see what they tell you: ===> "Grade sync for shared tool '1' for the course '2'. Skipping - Invalid grade for the user '4' in the tool '1' for the course '2'. <=== for me it meant the user role is Teacher hence skip.

Hi Eugene,

Since my last post on this topic on H5P...I have switched to making Rise 360 courses with SCORM. So much easier. I may continue to use H5P for some classes where collecting results isn't as criticial as our mandatory training classes. 

One thing we figured out is that it is HIGHLY RECOMMEND is to make a WARNING ahead of time all users ahead of time to make sure they are using an updated browser and include a statement like this prior to anyone taking a course:  "To make the system work properly, please make sure pop-ups, cookies (and third-party cookies) and javascripts are allowed from "http://your website name"  in your web browser settings."

The popups and cookies are big troublemakers and prevent results from recording. I was having this problem on my iphone when I was testing my classes. Once I removed the blockers and allowed the popups...results recorded.  We have had fewer incidences of results not recording since this inclusion of verbiage.  However, some people are not aware of how to do this properly so you will need to include a link how to do that for different kind of devices. 

This should be the first line of defense for H5P results not recording and H5P should be telling everyone this from the get-go, but they are not. I do not know why. Some universities have great pages explaining all this. But companies like ours are not universities. Our own LMS (OpenLMS) doesn't even have a statement like this. Very frustrating to find out the hard way.

Good luck everyone!

Hi Eugene,

Since my last post on this topic on H5P...I have switched to making Scorm-based Rise 360 courses. So much easier and prettier. I may continue to use H5P for some classes where collecting results isn't as criticial as our mandatory training classes. 

One thing I figure out is that it is HIGHLY RECOMMEND is to make a WARNING ahead of time all users ahead of time to make sure they are using an updated browser and include a statement like this prior to anyone taking a course:  "To make the system work properly, please make sure pop-ups, cookies (and third-party cookies) and javascripts are allowed from "http://your website name"  in your web browser settings."

The popups and cookies are big troublemakers and prevent results from recording. I was having this problem on my iphone when I was testing my classes. Once I removed the blockers and allowed the popups...results recorded.  We have had fewer incidences of results not recording since this inclusion of verbiage.  However, some people are not aware of how to do this properly so you will need to include a link how to do that for different kind of devices. 

This should be the first line of defense to prevent H5P results not recording and H5P should be telling everyone this from the get-go, but they are not. I do not know why. Some universities have great pages explaining all this. But companies like ours are not universities. Our own LMS (OpenLMS) won't even permit a statement like this. Very frustrating to find out the hard way.

Good luck everyone!

Hi Eugene.  Thanks for your reply.   I have WP website which facilitates a small number of users to register (many 1-3 at a time).  There 'Subscriber' user status is correctly recorded but in testing mode ( 'Test User' incognito), I have noticed that a user's completed H5P content is not recored in the 'My Results' page.  Howevwer, when I myself complete content, the result IS recorded.

Any ideas?

The same problem occurs on our LMS; after a lot of debugging, watching and solving an interactive-video (with multiple answers) many times with different users (all being enroled in the course only as students), the error appears within one user. Now the XAPI call returns the following error:

{ 
    error: true,
    exception: {
        message: "error/Statements actor is not the current user",
        errorcode: "Statements actor is not the current user"
        link: "...",
        moreinfourl: "..."
    } 
    
}


1. Reproduce Steps : It's not easy to reproduce the error, since that sometime everthing seems to work just fine and sometimes not ....
2. Modole: 3.9.19+ (Build: 20230126)
3. Desktop
4. Firefox 110.0.1
5. H5P Plugin version: Interactive Video (1.22.14 & 1.24.2) both versions are installed
6. Interactive Video Editor (1.22.7 & 1.24.1) both versions are installed
7. Browser console error: see above JSON returned by moodle web service: core_xapi_statement_post
8. None
10. Recent changes to moodle: none
11. No changes to browser ...

i think its rather a moodle Problem than in the H5P-Contenttype itself. I'm debugging the code now, but maybe you guys have some idea ... ?

 

As expected it was actually a moodle problem in the H5P API implementation, which occurs when having the option "allowaccountssameemail" activated, which allows to have multiple users with the same email address. More informations on this issue here.

This Bug was fixed in moodle 3.11 (not sure about 4.1).

Hi all,

Moodle 4.1 and we have never allowed same email, but we still have the problem that H5P Interactive videos do not push grades to the gradebook.

Rgrds,
Paul.

otacke's picture

Hi Paul!

Are students submitting their results? That doesn't happen automatically in Interactive Video.

Are there any error messages showing up in the browser development console or in the server PHP logfile when the results are submitted?

Best,

Oliver