Question on xapi + wordpress
Submitted by xav on Mon, 04/18/2016 - 20:41
Forums:
Hello, I'm unsuccessfully trying to use xapi with a wordpress installation.
I read https://h5p.org/documentation/x-api and was trying:
Example
To try this out type the following in your browser's console when using an H5P object on a website:
H5P.externalDispatcher.on('xAPI', function (event) {
console.log(event.data.statement); });
However, console returns:Undefined
I'm trying it on a localhost, on a page with h5p content (wordpress). Same message either with or without being logged-in.
What am I missing?
falcon
Tue, 04/19/2016 - 23:19
Permalink
Hello, how are you adding the
xav
Thu, 04/21/2016 - 00:22
Permalink
Hi Falcon, by using: [h5p id
Hi Falcon, by using:
[h5p id="4"] (which is currently my excercise id).
falcon
Thu, 04/28/2016 - 16:42
Permalink
Ok, make sure you're running