Optional
author?: stringOptional
coreApi?: { majorVersion: number; minorVersion: number }Specifies the required version of H5P Core API. If not set, v1.0 is assumed, and the library must not use any functionality added in newer versions of H5P Core.
Optional
description?: stringOptional
dynamicDependencies?: Dependency[]Optional
editorDependencies?: Dependency[]Undocumented but important feature to load widgets when editing H5Ps
Optional
embedTypes?: ("div" | "iframe")[]List of possible ways to embed the package in the page
Optional
fullscreen?: 0 | 1Enables the integrated full-screen button
Optional
license?: stringOptional
metadataSettings?: { disable: 0 | 1; disableExtraTitleField: 0 | 1 }Disable metadata completely or just hide title field from content type's form.
Optional
preloadedCss?: { path: string }[]Optional
preloadedDependencies?: Dependency[]Optional
preloadedJs?: { path: string }[]Optional
runnable?: 0 | 1Whether or not this library is runnable. If it is runnable the authoring tool will enable authors to create new instances of content using this library. Values are 0 for not runnable and 1 for runnable.
Textual library name
See
https://h5p.org/library-definition#libauthor