Skip to content
This repository has been archived by the owner on Feb 18, 2022. It is now read-only.

Commit

Permalink
Fix for preview play requiring gesture
Browse files Browse the repository at this point in the history
  • Loading branch information
fruzyna committed Aug 8, 2020
1 parent babff0e commit 2389fd1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class MainActivity : AppCompatActivity() {
webview.settings.apply {
javaScriptEnabled = true
domStorageEnabled = true
mediaPlaybackRequiresUserGesture = false
}
webview.webViewClient = object : WebViewClient() {
override fun shouldOverrideUrlLoading(view: WebView, request: WebResourceRequest): Boolean {
Expand Down

0 comments on commit 2389fd1

Please sign in to comment.