When "hotlinking" Google Translate audio URLs in an <audio> tag a 404 is returned, this is in spite of the URL functioning as normal when accessed directly in the browser. To workaround this we should fetch (via proxy.php) if possible and save the mp3 locally if enabled, if not, we should provide a data URI so the audio is at least playable.
If this workaround fails we may as well remove the voices.
When "hotlinking" Google Translate audio URLs in an
<audio>
tag a 404 is returned, this is in spite of the URL functioning as normal when accessed directly in the browser. To workaround this we should fetch (via proxy.php) if possible and save the mp3 locally if enabled, if not, we should provide a data URI so the audio is at least playable.If this workaround fails we may as well remove the voices.