menu
Tatoeba
language
Register Log in
language English
menu
Tatoeba

chevron_right Register

chevron_right Log in

Browse

chevron_right Show random sentence

chevron_right Browse by language

chevron_right Browse by list

chevron_right Browse by tag

chevron_right Browse audio

Community

chevron_right Wall

chevron_right List of all members

chevron_right Languages of members

chevron_right Native speakers

search
clear
swap_horiz
search
Dalyup Dalyup May 26, 2019 May 26, 2019 at 9:20:03 PM UTC link Permalink

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).

{{vm.hiddenReplies[31940] ? 'expand_more' : 'expand_less'}} hide replies show replies
Colbo Colbo May 27, 2019 May 27, 2019 at 4:01:54 PM UTC link Permalink

Maybe you need drivers? For you sound card?
Have you installed the drivers? It's usually realtek hd audio.

deniko deniko May 28, 2019, edited May 28, 2019 May 28, 2019 at 8:17:37 AM UTC, edited May 28, 2019 at 9:23:20 AM UTC link Permalink

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.

{{vm.hiddenReplies[31952] ? 'expand_more' : 'expand_less'}} hide replies show replies
Dalyup Dalyup May 28, 2019, edited May 28, 2019 May 28, 2019 at 8:53:15 AM UTC, edited May 28, 2019 at 8:53:43 AM UTC link Permalink

@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.

{{vm.hiddenReplies[31954] ? 'expand_more' : 'expand_less'}} hide replies show replies
TRANG TRANG May 30, 2019 May 30, 2019 at 9:45:45 PM UTC link Permalink

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.

Colbo Colbo May 28, 2019 May 28, 2019 at 10:32:23 AM UTC link Permalink

Everything works fine on my side.

{{vm.hiddenReplies[31955] ? 'expand_more' : 'expand_less'}} hide replies show replies
deniko deniko May 28, 2019 May 28, 2019 at 10:35:32 AM UTC link Permalink

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.