React Native

React Native

When you build your app using React Native, note that it can be rendered inside two different viewports, WKWebView and UiWebView. First one is the newest and preferable, the second one is old and it usage requires a flag requiresUserAction to be set to false.

const WebViewComponent = props => {
  return (
    <>
    <WebView
    source={{uri: 'https://source/with/glomex/embed/code'}}
    style={styles.webview}
    allowsInlineMediaPlayback={true}
    mediaPlaybackRequiresUserAction={false}
    useWebKit={true}
    />
  </>)
}