React Native Android Webview Video
<p>I'm using React Native to create an Android/iOS app and trying to get a video to play in the WebView component. The video plays fine on iOS, but I'm having trouble getting it to play in the android WebView.</p>

<p>I've come across a few threads like this one (<a href="https://stackoverflow.com/questions/17259636/enabling-html5-video-playback-in-android-webview">Enabling HTML5 video playback in android WebView?</a>) that claim this is a fairly common problem on Android and can be solved by importing WebChromeClient and setting that option on the webview like so:</p>

<pre><code>mainWebView.setWebChromeClient(new WebChromeClient());
</code></pre>

<p>But almost all these threads are strictly about building a native Android app and not using React Native.</p>

<p>Does anyone know how to get this to work in React Native?</p>