Skip to content
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

xAPI not working #15

Open
otacke opened this issue Apr 1, 2019 · 0 comments
Open

xAPI not working #15

otacke opened this issue Apr 1, 2019 · 0 comments

Comments

@otacke
Copy link
Contributor

otacke commented Apr 1, 2019

H5P.EventDispatcher is not extended, so createXAPIEventTemplate cannot be called. This can be fixed easily. However, the xAPI statement that's triggered is invalid, because it never receives the object property, e.g. in

var xApiTemplate = self.createXAPIEventTemplate('interacted');

and

var xApiTemplate = this.createXAPIEventTemplate('answered');

and

var xApiTemplate = this.createXAPIEventTemplate('answered');

Is the text-input-field required to trigger xAPI statements on its own, e.g. on blur? I assume it will always be part as a larger content type that will eventually compose a "global" statement from the input?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant