VideoUltra API
    Preparing search index...

    Interface SpeechPosition

    Where speech is at local time: the word being said (−1 before the first) and 0…1 through it.

    interface SpeechPosition {
        chars: number;
        progress: number;
        totalChars: number;
        word: number;
    }
    Index
    chars: number

    Characters of the text done, counting the current word partly (for letter-by-letter).

    progress: number

    0…1 through the current word (1 between words).

    totalChars: number

    All characters (letters of the words, spaces excluded).

    word: number

    Index of the current word; words before it are done. −1 before any word starts.