Skip to content

[v3.1.0] onProgress/onTimeUpdate type mismatched with HTMLVideoElement #1952

@Prabin1025y

Description

@Prabin1025y

Before the update the type of onProgress callback was:
(property) onProgress?: ((state: OnProgressProps) => void) | undefined

But after the onProgress call back is of HTMLVideoElementEvent type:
(property) onProgress?: React.ReactEventHandler<HTMLVideoElement> | undefined

I don't know if this is intended or not. Also type definitions are not explicit as in previous version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions