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

Add playInline as a React Player prop for playing videos on mobile #1331

Closed
wants to merge 4 commits into from

Conversation

Galpittel
Copy link
Collaborator

@Galpittel Galpittel commented Dec 31, 2024

Add the playsInline attribute our PlayerElement to enable inline playback on mobile devices, preventing videos to fail.
We already had playsinline is the standard HTML5 attribute for enabling inline video playback on mobile devices, while playsInline is a prop used in React Player to achieve the same functionality within React applications. Both serve to prevent videos from automatically entering fullscreen mode.

@Galpittel Galpittel closed this Jan 8, 2025
@Galpittel Galpittel deleted the adding-playInline-for-videos branch January 8, 2025 11:53
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.

1 participant