H5P Embed with xAPI script
Hello, I have a Drupal server with H5P up and running and talking to our instance of Learning Locker (installed locally) to get all the xAPI statements that are sent out.
One thing I was wondering is if it is possible to have the H5P content that is being embedded to send statements back to our LRS?
Looking at things like the Tin Can Prototypes https://tincanapi.com/download-prototypes/ I see that it is possible to create a standalone "package" that has a configuration file that will tell it what LRS to write xAPI files, so i was thinking if a .js file could be included with the embed code, or inside the H5P content itself, with this configuration.
It is most likely much more involved than I am making it out to be.
Any thoughts appreciated.