npm

worknet-draft-js-video-plugin

0.0.5 • Public • Published

DraftJS Video Plugin

This is a plugin for the draft-js-plugins-editor.

This plugin allows you to copy a video url and paste the Videos to your editor! but default it handles youtube and vimeo, but you can always write your own logic to handle you desired video source see more details at advanced usage.

Getting Started

npm install draft-js-video-plugin --save

Basic Usage:

import createVideoPlugin from 'draft-js-video-plugin';
 
const videoPlugin = createVideoPlugin();

Package Sidebar

Install

npm i worknet-draft-js-video-plugin

Weekly Downloads

1

Version

0.0.5

License

MIT

Unpacked Size

13.2 kB

Total Files

13

Last publish

Collaborators

  • amrosebirani