Skip to content

Latest commit

 

History

History
67 lines (51 loc) · 2.55 KB

File metadata and controls

67 lines (51 loc) · 2.55 KB

h5p Standalone xAPI Wrapper

General Information

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.


Instructions

Course Shell Folder Structure

/assets
  - (h5p-standalone library files)
  
/h5p-folder
  - (your H5P extracted interaction files)

index.html
index.js

tincan-min.js
tincan-min.map

tincan.xml

H5P

  • 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

h5p-standalone library

  • Extract the contents into the /assets directory of the course shell

xAPI Wrapper

  • Update the tincan.xml file with your xAPI Activity information:
    • ID
    • Name
    • Description
  • Zip your files to create your xAPI package
  • Upload to LMS

Details

Benefits

  • 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

Disadvantages

  • Currently not configured for multiple H5P interactions
    • But the h5p-standalone library does have instructions for it, so possibly a future addition
  • 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