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

[WebView iOS] autoplay not working in inline videos #7512

Closed
stereodenis opened this issue May 11, 2016 · 6 comments
Closed

[WebView iOS] autoplay not working in inline videos #7512

stereodenis opened this issue May 11, 2016 · 6 comments
Labels
Platform: iOS iOS applications. Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@stereodenis
Copy link
Contributor

<WebView
...
allowsInlineMediaPlayback={true}
mediaPlaybackRequiresUserAction={false}
/>

Autoplay works in android, but not on iOS

@charpeni
Copy link
Contributor

@facebook-github-bot label iOS

@ghost ghost added Platform: iOS iOS applications. Ran Commands One of our bots successfully processed a command. labels May 11, 2016
@charpeni
Copy link
Contributor

NOTE : "In order for video to play inline, not only does this property need to be set to true, but the video element in the HTML document must also include the webkit-playsinline attribute."
WebView documentation

Did you check this?

@stereodenis
Copy link
Contributor Author

@charpeni yep. I have this attribute

@dsibiski
Copy link
Contributor

@stereodenis Is there a sample url that we can use for testing? Perhaps a sample app you can create on rnplay.org?

What version of RN are you using?

@stereodenis
Copy link
Contributor Author

problem was in react-native-bridge

@stereodenis
Copy link
Contributor Author

@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Platform: iOS iOS applications. Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants