themoeway / local-audio-yomichan

Anki add-on to run a local audio server for Yomichan.
MIT License
71 stars 10 forks source link

Firefox: Audio Not Pulling from Yomichan #22

Open kkeian opened 4 months ago

kkeian commented 4 months ago

Yomitan can't access local audio files when Yomitan add-on permissions aren't set to "Access your data for all websites" toggled on.

README doesn't mention this. It would be helpful to include a brief blurb about this on the README because this is so tightly integrated with Anki, the Add-On, and Yomitan/Yomichan.

Additionally, I suspect since Yomichan is Manifest v2 that this may only be an issue for users of Yomichan.

My setup: Mac (Silicon) Yomitan (Firefox) - 23.12.29.0 Firefox Browser - Version ⁨2.1.65 Anki Version ⁨2.1.65

How to Reproduce:

  1. Follow default setup in README
  2. Yomitan Add-On Permissions with "Access your data for all websites" toggled off.

The other Add-On permissions don't appear to have any affect on stopping the local server audio.

chickendude commented 1 month ago

Thank you for mentioning this, i was just seeing a red X next to the custom URL entry. Enabling the "Access your data for all websites" permission got it working.