Package Exports
- netlify-cms-editor-component-video
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (netlify-cms-editor-component-video) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
netlify-cms-editor-component-video
This package provide a Video component for Netlify CMS editor widget ready to drop in your Netlify CMS projects. Video shortcode plugin is used for video shortcode processing in markdown.
Installation
Run the following command using npm:
npm install netlify-cms-editor-component-video gatsby-remark-video-shortcode --save
Requirements
- Gatsby version >=2.17.15
- Gatsby Transformer Remark Plugin >=2.6.36
---
## Usage
Add to your CMS.js inside Netlify CMS project
```js
import video from 'netlify-cms-editor-component-video';
CMS.registerEditorComponent(video);
Configuration
// In your gatsby-config.js
plugins: [
`gatsby-plugin-sharp`,
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-video-shortcode`
}
]
}
}
];