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

How do I do webSettings in flutter? #427

Closed
joasag opened this issue May 25, 2019 · 4 comments
Closed

How do I do webSettings in flutter? #427

joasag opened this issue May 25, 2019 · 4 comments

Comments

@joasag
Copy link

joasag commented May 25, 2019

On my Android Studio project (non flutter based) I can do this:

        webSettings.setMediaPlaybackRequiresUserGesture(false);

This will allow autoplay of media without user input.

How do I this in flutter_webview_plugin?

Thank you!

@charafau
Copy link
Collaborator

hi @jockebq it's not possible to add this currently. if you want to set this option, we need to add this to plugin's api (like the rest values). PRs welcome (but create an issue first)

@joasag
Copy link
Author

joasag commented May 31, 2019

Thank you for the reply, I created a new issue as you suggested:
#430

@umi0410
Copy link

umi0410 commented Nov 26, 2021

Is there any progress? I aslo want to play videoes automatically without user interaction.
It works on mobile chrome but doesn't work on flutter webview.

@bubinyang
Copy link

有没有任何进展?我也想在没有用户交互的情况下自动播放视频。 它适用于移动 chrome,但不适用于 flutter webview。

did you solve it?

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

4 participants