A Transcript View LitElement that displays closed captioning and search results.
npm install @internetarchive/transcript-viewA transcript view that handles closed captioning and search results.
bash
yarn add @internetarchive/transcript-view
`Usage
`js
// transcript-view.js
import TranscriptView from '@internetarchive/transcript-view';
export default TranscriptView;
``html
currentTime=10
showContextZones=true
topContextHeight=50
bottomContextHeight=50
selectedSearchResultIndex=1
.entries=${transcript}>
`Development
Prerequisite
`bash
yarn install
`Start Development Server
`bash
yarn start // start development server and typescript compiler
`Testing
`bash
yarn test
`Testing via browserstack
`bash
yarn test:bs
`Demoing using storybook
`bash
yarn storybook
`Linting
`bash
yarn lint
``