Package Exports
- @playkit-js/taxonomy-transcript
- @playkit-js/taxonomy-transcript/dist/playkit-taxonomy-transcript.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@playkit-js/taxonomy-transcript) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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