How to set the current user for TinCan xAPI reporting
I have just gotten started with H5P& TinCan using SCORM as my LRS.
Everything is working as expected but when I embed an Interactive Video into my website I cannot set the logged in user so it gets reported in the SCORM.
I embed the Interactive Video using an iFrame (The one the embed button generates)
In SCORM I see the following:2017-01-26T00:53:00.617caf7671c-6544-4d59-92e0-e9bafe5c3d40: xxx attempted 'FlashTest'2017-01-26T00:53:00.096Anonymous attempted 'FlashTest'
Is there a way I can set the logged in user even though its in an iFrame?
The user has already logged into my website at this point so if I could set something in local storage or in JS etc that would be great.
If this is not possible how do track individual users and what they have completed?