-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Component: Content AuthorAll issues that affect content author (sourcecode/apis/contentauthor)All issues that affect content author (sourcecode/apis/contentauthor)NDLANDLA EdlibNDLA EdlibbugSomething isn't workingSomething isn't working
Description
Thumbnails in the copyright info are only included if the image's contentName parameter equals Image:
The h5p-core library uses this logic, too:
https://github.com/h5p/h5p-php-library/blob/b5f527e140c17da2792283d369f621e9b3f969ff/js/h5p.js#L1247
However, contentName is not a machine-readable identifier for the content type, it is a freely editable text field that can be altered from the H5P editor:
Thus, naming the image anything other than Image excludes it from having an associated thumbnail in the copyright info.
Some other method of establishing the content type should be used instead.
Metadata
Metadata
Assignees
Labels
Component: Content AuthorAll issues that affect content author (sourcecode/apis/contentauthor)All issues that affect content author (sourcecode/apis/contentauthor)NDLANDLA EdlibNDLA EdlibbugSomething isn't workingSomething isn't working
Type
Projects
Status
🆕 New