Viewing H5P Content
Call the renderContent
method on the global Lumi (window.Lumi) object. The method has two arguments:
HTMLElement: The HTMLElement where the content should be rendered. For example
document.getElementById('h5pcontent')
The contentId of the content you wish to render.
For Example:
Codepen example
Last updated