ENGLISH·COURSE API
    Preparing search index...

    Module

    lib/watch-progress/watch-progress

    Variables

    SECONDS_FROM_END

    How close to the end of a lesson counts as having finished it, expressed two ways. The finish threshold is whichever of the two comes first:

    FINISHED_FRACTION

    Functions

    finishThresholdSeconds

    The position, in seconds, at which a lesson counts as watched to the end.

    watchedFraction

    How much of a lesson the learner has watched, as a share of its runtime.

    hasFinishedWatching

    Whether the learner has watched a lesson to its end.

    countsAsComplete

    Whether a lesson counts as done.