This wrapper is to support xAPI output for H5P interactions exported from any valid H5P authoring tool in .h5p
format.
It uses the h5p-standalone player from Tunapanda.
NOTE: The player supports a few other features, like multiple interactions on a page and saving user resume state - the wrapper isn't currently configured for that, but it's a good idea for the future.
- Download and extract the latest release of the h5p-standalone library
- These files will be included in your course
- Download and extract the latest release of the xAPI Wrapper
h5p-standalone-xapi-wrapper
- This is your "course shell" that you will add files to and modify
/assets
- (h5p-standalone library files)
/h5p-folder
- (your H5P extracted interaction files)
index.html
index.js
tincan-min.js
tincan-min.map
tincan.xml
- Create and export your interaction in
.h5p
format from any H5P authoring tool - Rename the H5P file extension from
.h5p
file to.zip
- Extract the contents into the
/h5p-folder
directory of the course shell
- Extract the contents into the
/assets
directory of the course shell
- Update the
tincan.xml
file with your xAPI Activity information:- ID
- Name
- Description
- Zip your files to create your xAPI package
- Upload to LMS
- Can use any H5P authoring environment that exports to
.h5p
format - Allows xAPI packaging without too much configuration
- Automatically pulls info from the LMS to allow LRS communication
- LRS and user info
- Uses the TinCanJS library to assist with processing
- Currently not configured for multiple H5P interactions
- But the
h5p-standalone
library does have instructions for it, so possibly a future addition
- But the
- Dependent on a third-party library
- If their project is abandoned, it won't receive updates
- However, any packages resulting from this solution should work for the foreseeable future