Skip to content

feat: allow to start the video programatically#173

Open
Abdelalim-dev wants to merge 1 commit intoTheWidlarzGroup:masterfrom
Abdelalim-dev:start-video-programatically
Open

feat: allow to start the video programatically#173
Abdelalim-dev wants to merge 1 commit intoTheWidlarzGroup:masterfrom
Abdelalim-dev:start-video-programatically

Conversation

@Abdelalim-dev
Copy link
Copy Markdown

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
Copy Markdown

The autoplay prop already exists!

@Abdelalim-dev
Copy link
Copy Markdown
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.

@moskalakamil
Copy link
Copy Markdown
Collaborator

Hey, we completely rebuilt this component. If you could resolve the conflicts and add it to the latest codebase, that would be great! Anyway, thanks for your work!

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.

3 participants