Type Alias H5PIntegrationObject

H5PIntegrationObject: {
    ajax: { contentUserData: string; setFinished: string };
    baseUrl: string;
    contents: Record<string, unknown>;
    core: { scripts: string[]; styles: string[] };
    crossorigin: unknown;
    crossoriginCacheBuster: unknown;
    hubIsEnabled: boolean;
    l10n: { H5P: Record<string, string> };
    libraryConfig: unknown;
    libraryUrl: string;
    pluginCacheBuster: string;
    postUserStatistics: boolean;
    reportingIsEnabled: boolean;
    saveFreq: false | number;
    url: string;
    user: { mail: string; name: string };
}

Type declaration

  • ajax: { contentUserData: string; setFinished: string }
  • baseUrl: string
  • contents: Record<string, unknown>
  • core: { scripts: string[]; styles: string[] }
  • crossorigin: unknown
  • crossoriginCacheBuster: unknown
  • hubIsEnabled: boolean
  • l10n: { H5P: Record<string, string> }
  • libraryConfig: unknown
  • libraryUrl: string
  • pluginCacheBuster: string
  • postUserStatistics: boolean
  • reportingIsEnabled: boolean

    True if Enable LRS dependent content types is set to true, else false

  • saveFreq: false | number
  • url: string
  • user: { mail: string; name: string }