Menu
Sometimes when I try to play audo files via the random sentence function, I cannot hear anything. It always works when I click on the sentence's entry and listen to it there.
For example, this happened just now with the English translation of this sentence: https://tatoeba.org/deu/sentences/show/6618773
Any idea why this might be happening? I am using Firefox 67.0 (64-Bit).
Maybe you need drivers? For you sound card?
Have you installed the drivers? It's usually realtek hd audio.
I can confirm - this is also happening in Chrome and Edge, so probably not browser related.
The sound works fine if you click on a sentence, or if you see it in the search results, but it doesn't work in the random sentence widget.
So to reproduce you need to click "Show another" button on the main page a few times to get a sentence with audio. For example, I happened to see this sentence when I was experimenting:
https://i.imgur.com/T4FnEim.png
Then you click on the loudspeaker button and there's no sound.
Once you click on the sentence itself to proceed to its page (#6559124 in this case) the sound works fine.
So the problem is probably with the Random Sentence widget (or however you call this feature).
EDIT: I played a bit more with it and the pattern is really weird.
So if you open the main page, and the Random sentence you see first (or one of its translations) does have a sound, it plays fine, and all the subsequent sentences with sound that you get after you press "Show another" work fine too.
If you open the main page and the first sentence you see doesn't have a sound (and neither do all the translations of this sentence), then you press "Show another" enough times to get a sentence with a sound, the sound wouldn't play.
@Colbo, my sound drivers are installed, so it's definitely not that.
@deniko, I just tried the pattern you outlined and got the same result (with Firefox and Chrome). It seems something is not loaded if the first random sentence does not contain audio.
There is indeed a bug. I created an issue on GitHub:
https://github.com/Tatoeba/tatoeba2/issues/1898
Special thanks to @deniko for figuring out the steps to reproduce systematically.
Everything works fine on my side.
Well, I can reproduce it very reliably following the instructions I described above.
If it's not happening to everyone, this means Tatoeba works in mysterious ways.