From ff5b645f3be424c9a3a1c9c68ee2ee2f5aeaa44f Mon Sep 17 00:00:00 2001 From: KOLANICH Date: Wed, 23 Dec 2015 00:18:41 +0300 Subject: [PATCH] WebSpeech TTS engines list retrieval --- bower_components/fingerprintjs2/fingerprint2.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bower_components/fingerprintjs2/fingerprint2.js b/bower_components/fingerprintjs2/fingerprint2.js index 140ea10..cb0676c 100644 --- a/bower_components/fingerprintjs2/fingerprint2.js +++ b/bower_components/fingerprintjs2/fingerprint2.js @@ -951,6 +951,10 @@ if (!gl) { gl = null; } return gl; }, + getTTSEngines: function() { + //https://www.w3.org/Bugs/Public/show_bug.cgi?id=29350 + return speechSynthesis.getVoices().map(v => v.name+"|"+v.lang); + }, each: function (obj, iterator, context) { if (obj === null) { return;