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 request: hook to show preview on Light mode #679

Closed
paulincai opened this issue Jul 15, 2019 · 0 comments
Closed

Feature request: hook to show preview on Light mode #679

paulincai opened this issue Jul 15, 2019 · 0 comments

Comments

@paulincai
Copy link

In Light mode, the player has a handler for the first click.

onClick showPreview goes false and the player is presented:

{showPreview ? preview : players}

Would be lovely to have a method to put the preview back. This is really useful for infinite scroll social walls or when multiple videos are displayed in cards (like Pinterest but with videos).
One can use this method with an onscroll listener or when start playing another video.

albanqoku added a commit to albanqoku/react-player that referenced this issue Feb 24, 2021
Webmaster1116 added a commit to Webmaster1116/video-player that referenced this issue May 20, 2021
webmiraclepro added a commit to webmiraclepro/video-player that referenced this issue Sep 9, 2022
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