-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add xAPI Events to gain deeper insights into the learners' behaviors #311
base: master
Are you sure you want to change the base?
Conversation
Hi! Before the H5P core team reviews this, you should ensure to follow the H5P coding style guide. Also, you should not use jQuery. It's going to be removed from H5P core and would need to be supported with adding it to the content type, which is not intended. Also, jQuery doesn't really feel necessary anymore, in particular for things like Moreover, overriding The XAPIEvent The xAPI verb id, however, is the smaller issue compared to adding a Finally, these statements could be useful, but they should probably be triggered by H5P.Video in general and not only by H5P.InteractiveVideo. But ultimately, the H5P core team (that I am not a member of) will need to decide on your pull request. |
Hi @otacke, thanks for your review. Since the H5P.XAPIEvent.allowedXAPIVerbs is located in the player package - so it is hard to add new xAPI verbs. Maybe we need another merge request for H5P Player? I can adjust the time format, maybe we move the information to the object? The |
You can request that, but the H5P core team will need to decide. As I mentioned, you'd generate an xAPI verb id that would not make sense, however. The verb will end up in https://github.com/h5p/h5p-php-library/blob/master/js/h5p-x-api-event.js#L74 where the id is composed, but the ADL profile that is referenced does not contain You cannot simply add arbitrary properties to xAPI statements. If you need to, then you will have to use an extension. And those come with their own set of disadvantages, as the LRS will need to know how to handle these or not be able to process that piece of information. Oh, now I see the guard that you put into As I said, I am not a member of the H5P core team and cannot decide on your pull request. Just pointing out things that I noticed and would point to if I had a say. |
No description provided.