@shakrmedia/editor-sdk ShakrEditorMedia

ShakrEditorMedia interface#

Media object interface which should be returned by 'get_media' event or 'open_media_library' event event listener's callback.

Signature:
export interface ShakrEditorMedia

Properties#

PropertyTypeDescription
idstringUnique identifier of the media. This identifier should be unique in a library that has the media.
thumbstringThumbnail url of the media.
titlestringTitle of the media. This will be displayed in Shakr Editor user interface.
urlstringOriginal url of the media.