h5p.json mainLibrary

h5p.json got, according to H5P specifications, the following properties:

Mandatory:
title, language, machineName, preloadedDependencies, embedTypes

Option:
contentType, description, author, license, dynamicDependencies, width, height, metaKeywords, metaDescription

But I got the following error if I does not have mainLibrary defined:
"The required property mainLibrary is missing from h5p.json"

(By the way, the example Boardgame does not have this property..)

falcon's picture

We've updatet the documentation. mainLibrary is now included in the list of mandatory properties and also included in the example.