Skip to content

User gesture required #14

Open
Open
@JoOzO96

Description

@JoOzO96

I'am developing a app to see videos with autoplay, but I need click in the screen to chrome don't block the request because he auto blocks autoplay. This app running on TV with no user access to click.

In electron I need add this command to resolve this

app.commandLine.appendSwitch('autoplay-policy', 'no-user-gesture-required');

In webview folder I think we need edit AndroidJSActivity to add this command to replay this same command

this.myWebView.getSettings().setMediaPlaybackRequiresUserGesture(false);

I tried to add pull request but do not have access to do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions