playerAddonsof your configuration:
editorAddonsin your implementation of
IH5PConfigto something like:
libraryConfigof your configuration implementation of
IH5PConfig. The property is a complex object with H5P library machine names as keys. The object is sent to the H5P client (run in the browser) as part of the H5PIntegration object and can be accessed in a H5P library by calling
h5p.jsonfile or content. The library folders are basically like regular H5P libraries, as they contain a
library.jsonfile, but they can't contain
semantics.json. The metadata in
library.jsonis mostly the same as the metadata of normal libraries, but it contains the property
addTo, which makes a library to an addon. (Check out the comprehensive structure of library metadata in the TypeScript interface
addToin its metadata will be automatically added to the player (or editor) by the server in certain circumstances:
stringproperty of the content parameters.
preloadedCssare loaded in the HTML file after the actual library is loaded.