Lumi Education H5P SDK (alpha)

This page will explain how to use the Lumi Education H5P SDK to display H5P content and the H5P Editor on your website with only a few lines of code.

This SDK is in alpha. The API might change and errors might occur.

<script src="https://api.Lumi.education/sdk.js" type="text/javascript"></script>

<div id="h5pcontent"></div>
var appId = "5ad86568-999a-4b08-aacd-711d2046d1f8";
var ssoToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNvZGVwZW4iLCJpYXQiOjE3MTE5MjIxNjB9.iEz2hie-lAs-7TsZTeV39To8VjiPTI1ikZRN70biQGo";

Lumi.init(appId, ssoToken);
Lumi.renderContent(document.getElementById('h5pcontent'), "660c1c213b1f35e0916cf845");

Last updated