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.
# 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/.
An overview of this project's design, can be found here.