read-aloud icon indicating copy to clipboard operation
read-aloud copied to clipboard

In Firefox on android with piper voice, hangs on reuse.

Open ksmigrod opened this issue 5 months ago • 1 comments

In Firefox, I've configured this extension to use piper voice (amy).

  1. Read aloud page (it works).
  2. Use stop button or wait for reading to finish.
  3. Close extension with back arrow.
  4. Read aloud (same page, or other page).
  5. Extension opens itself, pause/play button displays pause, but all text is selected and nothing is read. I can use back arrow to leave extension.
  6. I need to stop reading (with stop button), close piper tab, and only then invoke read aloud extension.

ksmigrod avatar Jul 09 '25 09:07 ksmigrod

I had some similar types of issues, switching to Firefox Beta, and flipping dom.suspend_inactive.enabled seems to have resolved it. Maybe adding a whitelist could help but not sure there's a web API for this so a proper fix may be way off, short of adding a whitelist to support the extension in a lgither-touch way.

My issues were admittedly a little different, more like "Piper only renders speech when the ttstool tab is in the foreground."

meltyness avatar Sep 07 '25 12:09 meltyness

Unfortunately on mobile devices the background-page restrictions limits what we can do here. Piper voices need to run in a separate tab since it requires cross origin isolation to perform all the sophisticated on-device AI inferencing stuff. Support for Piper voices on Android is most definitely best-effort right now; most likely doesn't work, but fun to just try out.

Edit: Come to think of it, if we embed the Piper frame directly in the popup window, might work.

ken107 avatar Dec 11 '25 16:12 ken107