Information about where the file reference was found
The path of the object inside the params tree. You can use this path to later modify the params, if needed.
The raw parameters of the object.
Optional
semantics?: ISemanticsEntryThe semantic structure of the object (as defined in semantics.json).
Can be null or undefined if there is no semantic structure for the element (happens if the file can be found somewhere that is not described by the semantics)
The path of the file inside the H5P content directory as can be used to reference it in ContentManager (without any suffixes like #tmp).
Optional
mimeThe mime type specified in the params
If true, the file was marked as temporary (by the #tmp suffix). The suffix is not included in filePath
Describes a reference to a file that is embedded inside the content.