problems with xapi interaction

Hello!

Now i'm trying to use h5p interactive elements in moodle. First of all i need to put h5p activities in lrs via xapi.

Almost it works, but i cant see such elements as scores and spent time in lrs, although it should be there according documentation on this site.

Please help me to make the situation clearer.

BV52's picture

Hi Alexk80,

Are you using a separate plugin for Moodle to capture the scores? Moodle has its built in Gradebook that captures the score.

-BV52

Yes I'm. I use gradebook and i see the marks. But what's about spent time?

And one more question please: It supposed that all my activity with h5p module have to be stored in lrs, but it seems the statements content is always similar whatever i do. For instance, i completed drug'n'drop exercise in differents way (successful and not). Each my activity (drag'n'drop movie) immediatly causes to post request with statements, but the content of the statement is always the same.

Obviously, we would like to define what user has done only based on lrs records.

BV52's picture

Hi Alex,

There is not timer built in on H5P contents so if you need data such as this you would have to make some changes to the code.

For the scores once the activity is finished the LRS picks up the xAPI statements sent by the H5Ps. In most cases by default if an activity is repeated it overwrites the previous score.

-BV52