Skip to content

renderVTTTokensString does not pass currentTime to recursive call #4

Description

@jaco-terbraak

VTT files can have cue payloads with nested timestamps. However renderVTTTokensString only processes the top-level timestamp according to the passed currentTime. It does not pass the currentTime to the recursive calls, so the nested timestamps don't get the appropriate date-future and date-past attributes.

See: https://github.com/vidstack/captions/blob/main/src/vtt/render-cue.ts#L60

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions