README
generator-kalturaplayer-module
Yeoman generator for creating Kaltura Player modules and plugins - lets you quickly set up a project following best practices.
Getting Started
- Install Yeoman from npm, run:
npm install -g yo
- Install generator-kalturaplayer-module from npm, run:
npm install -g generator-kalturaplayer-module
- Clone Kaltura Player to your machine
git clone https://github.com/kaltura/mwEmbed/
- Change working dir to the modules dir
Cd mwEmbed/modules
- Finally, initiate the generator and follow the steps:
yo kalturaPlayer-module
Generators
Available generators:
- App(Module + optional plugins)
- Plugin
App
Sets up a module, generating all the boilerplate you need to get started.
Example:
yo kalturaplayer-module
Plugin
Generates a new plugin in an existibng module.
Example:
yo kalturaplayer-module:plugin myPluginName
Plugin must be initiated from inside a module directory