apostrophe-video-fields (module)

Inherits from: apostrophe-module

apos.videoFields

Implements the "video" apostrophe schema field type.

The value of the field is an object with url, title and thumbnail properties, the latter two being as obtained by oembetter at the time the URL was originally pasted and fetched via the oembed protocol.

This field type is locked down to accept only URLs whose oembed response type is video.

Videos are not actually hosted or stored by Apostrophe. They are displayed via oembed-capable third party services like Vimeo and YouTube.

Methods

addFieldType() [schemaField]

fieldTypePartial(data) [schemaField]

pushAssets() [browser]

pushCreateSingleton() [browser]

Next: apostrophe-video-fields (browser) →