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

feat: allow to start the video programatically #173

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Abdelalim-dev
Copy link

This allows triggering the video start without the need to click on the button provided by the player.
It can be helpful to use this player in a grid-like Instagram where you start video playback without user action.

@saul-atomrigs
Copy link

The autoplay prop already exists!

@Abdelalim-dev
Copy link
Author

But you can't change it back and forth if I'm not mistaken. Toggling it doesn't stop & start the video.

The example I gave in my comment is a grid of videos like Instagram where videos play and stop automatically when they're in & out of the screen.

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

Successfully merging this pull request may close these issues.

2 participants