Kaltura Player V7 - Q&A plugin
Overview
this section will be added soon
Project structure
this section will be added soon
Commands
Serve test pages
This command will serve test page with your local plugin. It will watch for changes and build them automatically.
npm run serve // served on http://localhost:8007
Serve command pre-requisite
Until the cli library will be ready, you will need to manually create the test page, using the following guide:
- open folder
test
and copy filetest/index.template.ejs
astest/index.ejs
- open
index.ejs
file and fill all places marked withTODO
comment.
Build packages
This command will build the plugin create dist folder with relevant assets
npm run build // dist folder will be created under `dist`
Analyze packages bundle
This command will build and create a static page visualizing the bundle content.
npm run analyze // for plugin v7 bundle analyze to be shown automatically in the browser
Update Player Contrib libraries
This command will update packages to use latest
or next
version of the player contrib libraries.
npm run upgrade:latest // upgrade contrib libraries to latest version
npm run upgrade:next // upgrade contrib libraries to next version