Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DrewGayheart opened this issue Jan 14, 2021 · 6 comments · May be fixed by #445
Open

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

DrewGayheart opened this issue Jan 14, 2021 · 6 comments · May be fixed by #445

Comments

@DrewGayheart
Copy link

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?

@judsonsmith
Copy link

Hi This has been an intermittent problem for us as well. We haven't been able to identify a fix.

@I123U
Copy link

I123U commented Feb 6, 2021

I'm using the same Moodle version and students are reporting a similar issue where grades are not recorded in the grade book for the 'course presentation' H5P activity on Moodle.

What is common, is the problem regularly happens with the same students repeatedly.

I've also noticed a script is sometimes blocked from running when using Edge browser causing the course presentation container not to be fully responsive and the height is too small to see slide content. The only fix that seems to work is to clear local clients browser cache.

@thomasmars
Copy link
Member

it would help greatly in solving this if you're able to find a way to reproduce the problem consistently and steps to achieve this.

@bballmcoe
Copy link

Has anyone found a resolution for this? I am having the same issue. Moodle 3.11, PHP 7.3.31, everything seems to be working great, but as stated above, interactive videos do not show as completed for the student and nothing is recorded to the gradebook. I can provide logs, screenshots. or whatever will help solve this.

@smlavoie
Copy link

smlavoie commented Jan 14, 2022

UPDATE : Found a solution in another discussion thread. Updating interactive video libraries to 1.22.14 solved the problem!

Bonjour Hi, we have the same problem here. Interactive videos do not show as completed neither the scores available to the teacher. Is it a H5P problem or a Moodle problem? Looking at the URL of this thread, I notice though that it seems linked to the moodle plugin HVP. My problem is related to H5P natively integrated in Moodle, not the old moodle plugin.

@dryj
Copy link

dryj commented May 17, 2022

I have also found this particular problem using a number of different H5P activities and I thankfully have found what I think is the core issue and come up with a fix that so far seems to be working 100%.

The issue stems from H5P performing 2 AJAX calls simultaneously on the xAPI Completed event. 1 of these AJAX calls will create the completion record for the course, while the other updates grades. If the grade update happens first it fails as there is no completion record, hence users can simply repeat the activity to then gain a grade. This race condition is the reason the issue is intermittent, as it is wholly dependant on in which order the AJAX calls are made and processed.

The H5P activity that is built directly into Moodle from 3.8 onwards doesn't have this issue as it only triggers one AJAX call that both creates the completion record and updates the grades.

@dryj dryj linked a pull request May 17, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants