now i have a page can be accessed in some in other app's spotlight, in that page I need to autoplay a video , it works well in normal browser ,and also well in some app that set to allow autoplay. But if there any possibility to work around even the app has set WebView.getSettings().setMediaPlaybackRequiresUserGesture(true)
Asked
Active
Viewed 154 times
0

Jack.Z
- 21
- 5
-
https://stackoverflow.com/questions/15946183/android-webview-html5-video-autoplay-not-working-on-android-4-0-3/16718186#16718186 here i find a solution, but not work for me – Jack.Z Sep 01 '20 at 07:31
-
1Videos with sound cannot autoplay on Android or iOS. You can set `muted` in the setup of your video tag to have silent autoplay (maybe place a notice above video saying "muted: click to listen") where click function does something like `video.mute = false;`. – VC.One Sep 01 '20 at 11:46
-
I have already set the necessary attribute, `mute` ,`playsinline`,etc. – Jack.Z Sep 02 '20 at 01:45