@playkit-js/taxonomy-transcript
v1.0.2
Published
Custom transcript plugin that displays taxonomy information in addition to the transcript
Readme
playkit-js-taxonomy-transcript
playkit-js-taxonomy-transcript is a Kaltura player plugin that renders a side-panel alongside that shows the video's transcript with the ability to highlight key terms mentioned in the media.
Features
- Displays transcript
- Search in the transcript
- Highlight key terms mentioned in the media or search keyword
Getting started with development
# First, checkout the repository and install the required dependencies
git clone https://github.com/Kaltura-PS/playkit-js-taxonomy-transcript.git
# Navigate to the repo dir
cd playkit-js-taxonomy-transcript
# Install dependencies
yarn
# Before submitting a PR - Run the pre commit command
yarn run precommit
# this command will run:
# 1. types check
# 2. lint check
# 3. generate/update types
# 4. generate/update docsThe dev server will host files on port 8080. Once started, the demo can be found running at http://localhost:8080/.
Linter (ESlint)
Run linter:
yarn run lint:checkRun linter with auto-fix mode:
yarn run lint:fixFormatting Code
Run prettier to format code
yarn run prettier:fixType Check
Run type-check to verify TypeScript types
yarn run types:checkAutomated tests (Mocha/Karma)
Run all tests at once:
yarn testRun unit tests in watch mode:
yarn run test:watchUsage guide
License
playkit-js-taxonomy-transcript is released under Apache 2.0 License
