ken107 / read-aloud

An awesome browser extension that reads aloud webpage content with one click
https://readaloud.app
MIT License
1.36k stars 233 forks source link

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

Open ziroc opened 10 months ago

ziroc commented 10 months ago

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 commented 10 months ago

If you disable autoplay, the scripts cannot play audio programmatically

ziroc commented 10 months ago

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

adrian91221 commented 8 months ago

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