Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android 6 自动播放失败。。。 #1

Open
weijia-yu opened this issue Jul 28, 2016 · 3 comments
Open

android 6 自动播放失败。。。 #1

weijia-yu opened this issue Jul 28, 2016 · 3 comments

Comments

@weijia-yu
Copy link

build app后在我的设备上不是自动播放。。。

@weijia-yu
Copy link
Author

在代码里加入 mWebView.getSettings().setMediaPlaybackRequiresUserGesture(false);就可以了。。。
谢谢楼主!

@ghost
Copy link

ghost commented Sep 20, 2017

我也遇到同样的问题,已解决,谢谢楼主。

@KnIfER
Copy link

KnIfER commented Nov 28, 2017

厉害了我的哥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants