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

[Feature]: Paused state from ref #4226

Open
maksymhcode-care opened this issue Oct 9, 2024 · 3 comments
Open

[Feature]: Paused state from ref #4226

maksymhcode-care opened this issue Oct 9, 2024 · 3 comments

Comments

@maksymhcode-care
Copy link

Description

Not crucial, but do you think getting play/pause state from ref can be added?

Why it is needed ?

Having ability to get this state locally can help with optimization

Possible implementation

No response

Code sample

No response

Copy link

github-actions bot commented Oct 9, 2024

Thank you for your feature request. We will review it and get back to you if we need more information.

@cordovalegacy
Copy link

Yes this would be a great thing to have

@freeboub
Copy link
Collaborator

This should be implemented on js side. Register on the event in Video.tsx and save the state to a ref. The accessor just needs to return the value on the ref. (Can also be implemented on the app side, but it can but integrated in the package). Ping @seyedmostafahasani I know you start something similar.

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

No branches or pull requests

4 participants