OiWorld / MindTheWord

An extension for Google Chrome that helps people learn new languages while they browse the web.
43 stars 47 forks source link

When Options page is opened, some words are spoken #196

Closed ceilican closed 7 years ago

ceilican commented 7 years ago

I suspect this is a bug in the "Speak The Word" feature.

Although the pronunciation is not very clear, it seems that the following three words are spoken: "the", "vu" and "vu".

It takes about 10 seconds for the pronunciation of these three words to start. It pauses for 3 seconds between the words.

The attached screenshot shows that sound is being produced by the tab containing the options page.

This problem happens when I open the options page either through "chrome://extensions/" or through the icon in the top right corner. It does not happen when I reload the options page.

screen shot 2016-09-20 at 13 43 47
boro741 commented 7 years ago

@ceilican u mean the words "the", "vu" and "vu" that are spoken when the page is loaded to be removed ?

ceilican commented 7 years ago

Exactly. Do you know why this is happening?

sanket0211 commented 7 years ago

The sound is coming due to the file /MindTheWord/dist/views/includes/advanced.html . On the line no. 164 in the above file, we have HTML code : . Due to this line of code, the youtube video is playing automatically in the background. This youtube video contains the sounds which are being heard on the main page. I guess the solution to this would be removing the autoplay option from the youtube video URL.