h5p / h5p-branching-scenario

29 stars 55 forks source link

How to Retrieve Interaction Records in Interactive Videos Built in Branching Scenarios? #146

Open jonmzli opened 4 months ago

jonmzli commented 4 months ago

Hello,

I am currently developing interactive educational videos with branching scenarios on Moodle LMS and am keen on improving how these experiences engage learners. My current challenge is in the collection and retrieval of interaction records—specifically, learner responses during these interactive video nodes.

In the Moodle database, I noticed the h5pactivity_attempt_results table, but for each interactive video node, I only found one record. The 'InteractionType' field is marked as 'compound', and it only stores aggregate information about raw_score and max_score, without the detailed information on the learning process that is available in standalone Interactive Videos. Others interactive content type in branch scenarios have the same issue.

Could anyone offer insights or methods for capturing and accessing these interaction records effectively within such scenarios? I would greatly appreciate any guidance, as well as recommendations for any resources, libraries, or tools that could assist in this endeavor.

Thanks so much!

otacke commented 4 months ago

@jonmzli You'll want to track the original xAPI statements of H5P contents, not the compressed derivates that end up in the database. It's not much, but https://h5p.org/documentation/x-api is a start ... And the developer forum might be a good place for those questions.