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

fix(ios): set allowsInlineMediaPlayback to YES, closes #1209 #1210

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

pewsheen
Copy link
Contributor

@pewsheen pewsheen commented Apr 2, 2024

Fixed #1209

I think it's no harm to set allowsInlineMediaPlayback to YES by default. The media must add the playsinline attribute to make it work.

Note. The default value of this property is NO for iPhone and YES for iPad.

@pewsheen pewsheen requested a review from a team as a code owner April 2, 2024 03:36
@amrbashir amrbashir merged commit ed9fa9b into dev Apr 2, 2024
12 checks passed
@amrbashir amrbashir deleted the fix/ios-allow-media-plays-inline branch April 2, 2024 15:07
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.

Add webview.allowsInlineMediaPlayback feature for support HTML5 videos play inline on iPhone
2 participants