Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use callbacks #51

Open
Pritoj opened this issue Dec 18, 2020 · 0 comments
Open

Unable to use callbacks #51

Pritoj opened this issue Dec 18, 2020 · 0 comments

Comments

@Pritoj
Copy link

Pritoj commented Dec 18, 2020

<Video src={src} onPlay={onPlay}>
        {VideoRenderCallback}
</Video>

Unable to do this since onPlay is an invalid prop. Looking at the source I realize this is the case for all such methods. Can we expose these methods?

I'd be happy to open a PR if you think this is a valid usecase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant