netlify-cms-responsive-youtube-editor-widget

1.0.1 • Public • Published

netlify-cms-responsive-youtube-editor-widget

Adds a YouTube widget to your editor allowing you to embed videos responsively with your app.

Installation

npm install netlify-cms-responsive-youtube-editor-widget

Usage

Within your cms.js file:

import CMS from 'netlify-cms';
import ResponsiveYouTubeEditorWidget from 'netlify-cms-responsive-youtube-editor-widget';
 
CMS.registerEditorComponent(ResponsiveYouTubeEditorWidget);

If you're using Gatsby you need to direct Netlify CMS to your cms.js file like this:

    ...
   {
        resolve: 'gatsby-plugin-netlify-cms',
        options: {
            modulePath: `${__dirname}/src/cms/cms.js`
        }
    }
    ...

Readme

Keywords

Package Sidebar

Install

npm i netlify-cms-responsive-youtube-editor-widget

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

3.91 kB

Total Files

5

Last publish

Collaborators

  • marcuswood23