diff --git a/WallPanelApp/src/main/java/com/thanksmister/iot/wallpanel/ui/activities/BrowserActivityNative.kt b/WallPanelApp/src/main/java/com/thanksmister/iot/wallpanel/ui/activities/BrowserActivityNative.kt index 75a9ddb..e7eb69b 100644 --- a/WallPanelApp/src/main/java/com/thanksmister/iot/wallpanel/ui/activities/BrowserActivityNative.kt +++ b/WallPanelApp/src/main/java/com/thanksmister/iot/wallpanel/ui/activities/BrowserActivityNative.kt @@ -335,6 +335,7 @@ class BrowserActivityNative : BaseBrowserActivity(), LifecycleObserver { webSettings?.pluginState = WebSettings.PluginState.ON webSettings?.setRenderPriority(WebSettings.RenderPriority.HIGH); // webSettings?.cacheMode = WebSettings.LOAD_NO_CACHE; + webSettings?.mediaPlaybackRequiresUserGesture = false; if (userAgent.isNotEmpty()) { webSettings?.userAgentString = userAgent @@ -486,4 +487,4 @@ class BrowserActivityNative : BaseBrowserActivity(), LifecycleObserver { } } -} \ No newline at end of file +}