@playkit-js/assignment-mark
v1.0.6
Published
Once the plugin has been enabled in the player settings, the end user will have the ability to indicate which entry is an assignment, using an icon that will be presented above the player bar, based on the indication if the entry is cloned AND has an unde
Downloads
4
Readme
playkit-js-assignment-mark
playkit-js-assignment-mark is a kaltura player plugin that renders a check mark above bottom bar if loaded entry has rootEntryId and userId ends up with "_assignment".
playkit-js-plugin-example is written in ECMAScript6 (*.js
) and TypeScript (*.ts
) (strongly typed superset of ES6),
and transpiled in ECMAScript5 using Babel and the TypeScript compiler.
Webpack is used to build the distro bundle and serve the local development environment.
Getting started with development
# First, checkout the repository and install the required dependencies
git clone https://github.com/Kaltura-PS/playkit-js-assignment-mark.git
# Navigate to the repo dir
cd playkit-js-assignment-mark
# Run dev-server for demo page (recompiles on file-watch, and write to actual dist fs artifacts)
npm run dev
# Before submitting a PR - Run the pre commit command
npm run pre:commit
# this command will run:
# 1. types check
# 2. lint check
# 3. generate/update types
# 4. generate/update docs
The dev server will host files on port 8000. Once started, the demo can be found running at http://localhost:8000/.
Solution Document
An overview of this project's design, can be found here.