JSPM

  • Created
  • Published
  • Downloads 12
  • Score
    100M100P100Q63242F
  • License AGPL-3.0

Custom transcript plugin that displays taxonomy information in addition to the transcript

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 docs

The 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:check

Run linter with auto-fix mode:

yarn run lint:fix

Formatting Code

Run prettier to format code

yarn run prettier:fix

Type Check

Run type-check to verify TypeScript types

yarn run types:check

Automated tests (Mocha/Karma)

Run all tests at once:

yarn test

Run unit tests in watch mode:

yarn run test:watch

Usage guide

usage guide

License

playkit-js-taxonomy-transcript is released under Apache 2.0 License