H5P NodeJS Library
    Preparing search index...
    interface IH5PPlayerUIProps {
        asUserId?: string;
        contentId: string;
        contextId?: string;
        loadContentCallback: (
            contentId: string,
            contextId?: string,
            asUserId?: string,
            readOnlyState?: boolean,
        ) => Promise<IPlayerModel>;
        onInitialized?: (contentId: string) => void;
        onxAPIStatement?: (statement: any, context: any, event: IxAPIEvent) => void;
        readOnlyState?: boolean;
    }
    Index

    Properties

    asUserId?: string
    contentId: string
    contextId?: string
    loadContentCallback: (
        contentId: string,
        contextId?: string,
        asUserId?: string,
        readOnlyState?: boolean,
    ) => Promise<IPlayerModel>
    onInitialized?: (contentId: string) => void
    onxAPIStatement?: (statement: any, context: any, event: IxAPIEvent) => void
    readOnlyState?: boolean