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.
In Light mode, the player has a handler for the first click.
onClick showPreview goes false and the player is presented:
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.