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

How do you reset the controlTimeout with custom buttons? #242

Open
jrhager84 opened this issue Jan 3, 2022 · 1 comment
Open

How do you reset the controlTimeout with custom buttons? #242

jrhager84 opened this issue Jan 3, 2022 · 1 comment

Comments

@jrhager84
Copy link

I've tried everything in the video ref, and nothing seems to work. However, there is a declaration for clearControlTimeout and resetControlTimeout. How do I call that from my implementation? I have a 15-second seek button, and they don't reset the timer, so the onHideControls fires even when you're clicking it after it passes the controlTimeout delay. How do I override that? Thanks!

@jrhager84
Copy link
Author

Does anybody have an idea? Surely somebody has implemented custom buttons that need to keep the controls showing by resetting the value.

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