H5P NodeJS Library
    Preparing search index...

    Content metadata object with defaults for required values and sanitization to make sure it the metadata conforms to the schema.

    Implements

    Index

    Constructors

    Properties

    a11yTitle?: string
    author?: string
    authorComments?: string
    authors?: IContentAuthor[]
    changes?: IContentChange[]
    contentType?: string
    defaultLanguage: string
    dynamicDependencies?: ILibraryName[]
    editorDependencies?: ILibraryName[]
    embedTypes: ("div" | "iframe")[] = ...
    h?: string
    language: string = 'en'
    license: string
    licenseExtras?: string
    licenseVersion?: string
    mainLibrary: string
    metaDescription?: string
    metaKeywords?: string
    preloadedDependencies: ILibraryName[]

    A flat list of all dependencies required for the content to be displayed. Note that this list is a flat representation of the full dependency tree that is created by looking up all dependencies of the main library.

    source?: string
    title: string
    w?: string
    yearsFrom?: string
    yearsTo?: string

    Methods

    • Determines the main library and returns the ubername for it (e.g. "H5P.Example 1.0").

      Parameters

      Returns string

      the ubername with a whitespace as separator