H5P xAPI Issues
Hi,
I have H5P on Drupal Hooked up to Learning Locker (LL) using the TinCan Bridge.
The statements are showing up in LL but I am getting a mix of Annonymous and Identified statements when playing Interactive Video content
Here is a list of statements that shows up when I view and play the Interactive Video and answer a question in it and scrub to the end of the video.
Note the mix of "Annonymous" & "Damien Murphy" statements even though I am the only person doing this.
· Anonymous completed Flashbrand a few seconds ago
· Damien Murphy completed Flashbrand a few seconds ago
· Anonymous skipped Flashbrand Video a few seconds ago
· Anonymous paused Flashbrand Video a few seconds ago
· Anonymous play Flashbrand Video a few seconds ago
· Anonymous paused Flashbrand Video a few seconds ago
· Anonymous watched Flashbrand Video a few seconds ago
· Anonymous paused Flashbrand Video a few seconds ago
· Anonymous play Flashbrand Video a few seconds ago
· Anonymous skipped Flashbrand Video a few seconds ago
· Anonymous watched Flashbrand Video a few seconds ago
· Anonymous paused Flashbrand Video a few seconds ago
· Anonymous play Flashbrand Video a few seconds ago
· Anonymous answered Choose the correct statement. a few seconds ago
· Damien Murphy interacted Choose the correct statement. a few seconds ago
· Damien Murphy answered Choose the correct statement. a few seconds ago
· Anonymous interacted Choose the correct statement. a few seconds ago
· Anonymous answered Summary statement a few seconds ago
· Damien Murphy answered Summary statement a few seconds ago
· Damien Murphy interacted Choose the correct statement. a few seconds ago
· Anonymous interacted Choose the correct statement. a minute ago
· Anonymous paused Flashbrand Video a minute ago
· Anonymous watched Flashbrand Video a minute ago
In order to set the user (since I am using an iFrame to display the Drupal post) I pass the user name and email on the iFrame src url as a hash param
Then inside h5p.js init function I set the H5PIntegration.user
iFrame URL = http://www.adaza.io/training/?q=node/4#Damien%20Murphy%7Cdamien.murphy%4...
Setting the user inside H5P.init()
H5P.init = function (target) {
var userParam = decodeURIComponent(document.location.hash.replace(/^#/, ''));
var details = userParam.split("|");
H5PIntegration.user = {name:details[0], mail:details[1]};
tomaj
Tue, 02/14/2017 - 07:31
Permalink
Thanks!
Hi Damien,
Thanks for reporting the bug. We will look into it. I created a Jira task here, where you can follow the progress.
- Tom
falcon
Tue, 02/14/2017 - 13:52
Permalink
I see you have skipped,
I see you have skipped, paused, play and watched statements. I don't think H5P is currently generating those. Where do they come from?
damo1884
Tue, 02/14/2017 - 19:21
Permalink
They are coming from the
They are coming from the Interactive Video content
fnoks
Wed, 02/15/2017 - 09:52
Permalink
H5P is not sending events for
H5P is not sending events for play, pause and so on. I see you have included a tincansdk.js, which is not part of H5P. It seems this component is sending those events.
We will add these events in H5P videos when we get the time to do it. You can follow the issue here: https://h5ptechnology.atlassian.net/browse/HFP-434
damo1884
Wed, 02/15/2017 - 19:34
Permalink
tincansdk.js
Maybe im not 100% clear how to leverage H5P with xAPI.
Should I be using the tincan module with H5P or does H5P already send these statements?
Here are the modules I have enabled from TinCan module
damo1884
Wed, 02/15/2017 - 20:28
Permalink
Update
Once I disabled all other Tin Can API parts I stopped seeing the Anonymous statements
fnoks
Thu, 02/16/2017 - 08:26
Permalink
Hi,I am not familiar with the
Hi,
I am not familiar with the TinCan module