caption-sync
v1.2.0
Published
Simple mobile browser library for toggling vibration.
Downloads
26
Maintainers
Readme
Caption sync
Closed captions events listener
Installation
npm i caption-sync
Node Example
import CaptionSync from 'caption-sync'
const showCaptionFunc = function() {
// start output
}
const hideCaptionFunc = function() {
// stop output
}
const video = document.getElementById('test-video')
const captionsListener = new CaptionSync(video, showCaptionFunc, hideCaptionFunc);
Credit
Brought to you by beatcaps.io