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.
Run the following command using npm:
npm install netlify-cms-editor-component-video gatsby-remark-video-shortcode
- Gatsby version >=2.17.15
- Gatsby Transformer Remark Plugin >=2.6.36
- Gatsby plugin gatsby-remark-video-shortcode
Add to your CMS.js inside Netlify CMS project
import video from "netlify-cms-editor-component-video"
CMS.registerEditorComponent(video)
In your gatsby-config.js
plugins: [
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-video-shortcode`
}
]
}
}
]