-
Notifications
You must be signed in to change notification settings - Fork 120
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
How do you detect if h5p package is successfully completed? #148
Comments
You can listen for xAPI events that contain a |
Hmm so I've tried it with a sample H5P package and the package doesn't report a result or verb property. However, if I set the ajax.setFinishedUrl, it does POST the result to a URL at the right time with form post of something like:
Is there any option for something like "setFinishedCallback" which is just a callback function that passes the completion object? For example:
Is this something that could be added? |
Not sure what the "H5P sample package" is, but I am pretty sure that all H5P content types that report some result via xAPI have both, a Apart from that: I am neither affiliated with the H5P Standalone team nor H5P Group, so I cannot answer what could/will be added to either H5P Standalone or H5P core. |
How can you detect if programmatically if the H5P package is completed?
There seems to be a "ajax.setFinishedUrl" option for a URL but is there a way to detect the completion as a callback function instead?
The text was updated successfully, but these errors were encountered: