Grading in Moodle

Forums: 

Hi,

i'm wondering why im not able to get the grades of my own Content-Type to moodles Gradebook whith the build in H5P plugin (blue H5P). After I installed the black labeld H5P Plugin the grades are written in the Gradebook. Now I tested this behaviour with True-False Content type and noticed, that there the Grades are written into the Gradebook with both Plugins.

Im triggering a xAPI event like in true-false

var xAPIEvent = self.createXAPIEventTemplate('answered');
self.addQuestionToXAPI(xAPIEvent);
self.addResponseToXAPI(xAPIEvent);
self.trigger(xAPIEvent);

I even tried to trigger to trigger

riggerXAPIScored(score, maxScore, verb, completion, success)
triggerXAPICompleted(score, maxScore, success)
 but nothing happens. Did i forget to implement or trigger a special event to work with the Moodle Integration of H5P?
 Im Running Moodle 3.11.1 (Build: 20210712)And H5P framework v1.24 (h5plib_v124) I want the Content-type to work with both versions of the Plugin.Thanks in advanceYannik

 

BV52's picture

Hi Firejunkie,

The Moodle core integration of H5P was developed by the Moodle core team. I suggest that you reach out to the Moodle forums dedicated for H5P.

-BV

otacke's picture

Hi Firejunkie!

Could be a general problem with the grading in the core integration. Seems others are having trouble with regular content types, too. Please compare https://moodle.org/mod/forum/discuss.php?d=424950#p1711412

Best,

Oliver 

Thanks,

seems that the Integration has some troubles. i will try the Moodle forum for some more information about the possible problem. it's good to know, that the problem is not my use of the xAPI :).

chers,

Yannik