Class: MediaCopyright

H5P. MediaCopyright

new MediaCopyright(copyright, labels, order, extraFields)

A ordered list of copyright fields for media.
Parameters:
Name Type Argument Description
copyright Object Copyright information fields.
labels Object <optional>
Translation of labels.
order Array <optional>
Order of the fields.
extraFields Object <optional>
Add extra copyright fields.

Methods

setThumbnail(newThumbnail)

Set thumbnail.
Parameters:
Name Type Description
newThumbnail H5P.Thumbnail

toString() → {string}

Print media copyright.
Returns:
HTML.
Type
string

undisclosed() → {boolean}

Checks if this copyright is undisclosed. I.e. only has the license attribute set, and it's undisclosed.
Returns:
Type
boolean
Documentation generated by JSDoc 3.4.3 on 2017-02-07T13:45:43+01:00