Neanderthals Programming Machines

    caption-sync

    1.0.0 • Public • Published

    Caption sync

    Closed captions events listener

    npm version Known Vulnerabilities codecov XO code style npm downloads

    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

    Install

    npm i caption-sync

    DownloadsWeekly Downloads

    5

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    4.73 kB

    Total Files

    4

    Last publish

    Collaborators

    • goatandsheep