WebView setting: Hybrid application
- Print
WebView setting: Hybrid application
- Print
Article summary
Did you find this summary helpful?    
Thank you for your feedback!
iOS WKWebview settings
allowsInlineMediaPlayback
To allow inline playback of video tags in WKWebView, you need to set the allowsInlineMediaPlayback property of WKWebViewConfiguration to true. This will ensure that the player functions normally.
- For more information on the - allowsInlineMediaPlaybackproperty, please refer to the documentation.
Android Webview settings
mediaPlaybackRequiresUserGesture
To enable automatic playback of Shortform in Android Webview, you need to set the mediaPlaybackRequiresUserGesture property to false. This property determines whether or not a user gesture is required to start playback of a video. When set to false, videos will start playing automatically, even if the user does not interact with the webview.
- For more information on the - mediaPlaybackRequiresUserGestureproperty, please refer to the documentation.
.png)