Commits

Ivan Vučica committed 573a9f0

TTS

Comments (0)

Files changed (1)

 	echo "<span lang=\"ja\">";
 	echo $text;
 	echo "</span>";
+	
+	echo "<br>";
+	echo "Google TTS: <audio src=\"http://translate.google.com/translate_tts?ie=UTF-8&prev=input&tl=ja&q=" . str_replace('+','%20',urlencode($text)) . "\" controls>No support for audio</audio>";
+
 //	echo str_replace(array_keys($map), array_values($map), $_POST["text"]);
 }