@tailor-cms/ce-brightcove-video-manifest
v2.1.0
Published
Tailor CMS Brightcove video manifest
Downloads
765
Keywords
Readme
@tailor-cms/ce-brightcove-video-manifest
Shared element definition for the Brightcove Video content element in Tailor CMS.
Declares the element type, display name, UI configuration and initial state. The authoring, end-user and server packages all build on it, so it is the only package that has to be understood to know what the element is.
Installation
npm install @tailor-cms/ce-brightcove-video-manifestUsage
Content elements are normally registered with Tailor through the element registry rather than imported directly, but the package can be consumed on its own:
import manifest, { type ElementData } from '@tailor-cms/ce-brightcove-video-manifest';
manifest.type; // 'BRIGHTCOVE_VIDEO'
manifest.initState(); // initial element dataElement
| Property | Value |
| --- | --- |
| Name | Brightcove Video |
| Type | BRIGHTCOVE_VIDEO |
| Icon | mdi-video |
| Composite | No |
Packages
This element ships as four packages, published together from the
ce-brightcove-video repository:
| Package | Role |
| --- | --- |
| @tailor-cms/ce-brightcove-video-manifest | Shared element definition |
| @tailor-cms/ce-brightcove-video-edit | Authoring component |
| @tailor-cms/ce-brightcove-video-display | End-user component |
| @tailor-cms/ce-brightcove-video-server | Server-side module |
Development
pnpm install
pnpm dev # start the Content Element Kit runtime
pnpm build # build all packages
pnpm test # Playwright end-to-end suiteChanges are released with changesets;
run pnpm changeset to record one.
