1.0.0 • Published 8 months ago
@internetarchive/transcript-view v1.0.0
\
A transcript view that handles closed captioning and search results.

Installation
yarn add @internetarchive/transcript-viewUsage
// transcript-view.js
import TranscriptView from '@internetarchive/transcript-view';
export default TranscriptView;<!-- index.html -->
<script type="module">
import './transcript-view.js';
</script>
<style>
transcript-view {
display: block;
--timeColor: white;
--timeColumnWidth: 5rem;
--transcriptHeight: 200px;
--autoScrollButtonFontColor: black;
--autoScrollButtonBackgroundColor: white;
--normalTextColor: gray;
--activeTextColor: white;
--searchResultInactiveBorderColor: gray;
--searchResultActiveBorderColor: green;
}
</style>
<transcript-view
currentTime=10
showContextZones=true
topContextHeight=50
bottomContextHeight=50
selectedSearchResultIndex=1
.entries=${transcript}>
</transcript-view>
<script>
const transcriptView = document.querySelector('transcript-view');
// change the current time and the transcript view
// will scroll to the proper entry
transcriptView.currentTime = 50;
</script>Development
Prerequisite
yarn installStart Development Server
yarn start // start development server and typescript compilerTesting
yarn testTesting via browserstack
yarn test:bsDemoing using storybook
yarn storybookLinting
yarn lint1.0.0
8 months ago
0.0.4-alpha.1
10 months ago
0.0.3-a1
3 years ago
0.0.3
3 years ago
0.0.2
5 years ago
0.0.2-alpha.2
5 years ago
0.0.2-alpha.1
5 years ago
0.0.1
5 years ago
0.0.1-alpha.504
6 years ago
0.0.1-alpha.530
6 years ago
0.0.1-alpha.533
6 years ago
0.0.1-alpha.527
6 years ago
0.0.1-alpha.506
6 years ago
0.0.1-alpha.497
6 years ago
0.0.1-alpha.387
6 years ago
0.0.1-alpha.444
6 years ago
0.0.1-alpha.434
6 years ago
0.0.1-alpha.430
6 years ago
0.0.1-alpha.427
6 years ago
0.0.1-alpha.426
6 years ago
0.0.1-alpha.422
6 years ago
0.0.1-alpha.420
6 years ago
0.0.1-alpha.415
6 years ago
0.0.1-alpha.399
6 years ago
0.0.1-alpha.398
6 years ago
0.0.1-alpha.382
6 years ago
0.0.1-alpha.379
6 years ago
0.0.1-alpha.378
6 years ago