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

Not working in Firefox, when Autoplay is set to Block, and the site has an exception. #360

Open
ziroc opened this issue Nov 17, 2023 · 3 comments

Comments

@ziroc
Copy link

ziroc commented Nov 17, 2023

The error is
Uncaught (in promise) DOMException: The play method is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.

@ken107
Copy link
Owner

ken107 commented Nov 17, 2023

If you disable autoplay, the scripts cannot play audio programmatically

@ziroc
Copy link
Author

ziroc commented Nov 22, 2023

Well, I disable it for a reason. And I expect that it will work on sites that I have made exception for.

@adrian91221
Copy link

adrian91221 commented Jan 17, 2024

Try setting media.autoplay.blocking_policy to 0 or 1 in about:config. Autoplay will be blocked but the extension will work properly.

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

3 participants