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

Video playback allowlisting #226

Open
stefanpostolache opened this issue Sep 14, 2023 · 0 comments
Open

Video playback allowlisting #226

stefanpostolache opened this issue Sep 14, 2023 · 0 comments

Comments

@stefanpostolache
Copy link

Hi, I would like to thank you in advance for your help.

I am looking to enable autoplay with Geckoview, however due to recent changes in privacy policies autoplay with audio is no longer allowed; only if the user allows it, interacts with the page, or if media audio is turned off. That said, I have read through the API documentation and have noticed the existence of PermissionDelegate.PERMISSION_AUTOPLAY_AUDIBLE, which would be used in the PermissionDelegate#onContentPermissionRequest to allow/deny permission. How exactly could this permission be triggered? since it is not requested by default when the play() function is triggered. Will there be an API to allowlist the autoplay of resources? Can the triggering be done with WebExtensions?

I look forward to hearing your answers on these topics

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

1 participant