this is the voice 2 !
This commit is contained in:
parent
daf6b760d6
commit
8a362fbd13
@ -370,7 +370,7 @@ Memory.prototype._winGame = function() {
|
|||||||
//var texteADire = "Bravo, tu as gagné en "+this.numMoves+" coups ! ";
|
//var texteADire = "Bravo, tu as gagné en "+this.numMoves+" coups ! ";
|
||||||
//responsiveVoice.speak(texteADire, "French Female");
|
//responsiveVoice.speak(texteADire, "French Female");
|
||||||
var audio = new Audio();
|
var audio = new Audio();
|
||||||
var texte = "'http://translate.google.com/translate_tts?ie=utf-8&tl=fr&q=Bravo%20tu%20as%20gagn%C3%A9%20en%20"+this.numMoves+"%20coups%20!';"
|
var texte = "http://translate.google.com/translate_tts?ie=utf-8&tl=fr&q=Bravo%20tu%20as%20gagn%C3%A9%20en%20"+this.numMoves+"%20coups%20!";
|
||||||
audio.src =texte;
|
audio.src =texte;
|
||||||
audio.play();
|
audio.play();
|
||||||
this.game.appendChild(this.gameMessages);
|
this.game.appendChild(this.gameMessages);
|
||||||
|
Reference in New Issue
Block a user