ResponsiveVoice is a HTML5-based Text-To-Speech library designed to add voice features to web sites and apps across all smartphone, tablet and desktop devices. It supports 51 languages through 168 voices, no dependencies.
This is awesome. I can’t get it to work in Firefox, but it works in Chrome and the results are just what I needed.
I wonder if anyone has managed to integrate speech input (recognition) as simply and easily? There are a ton of API’s out there, but I haven’t seen anything as simple to integrate as this -
So, must be the way the javascript is injected in the OnPageLoad code…
javascript:var jsurl_one = document.createElement('script');
jsurl_one.setAttribute("type", "text/javascript");
jsurl_one.setAttribute("src", "https://code.responsivevoice.org/responsivevoice.js");
var head = document.getElementsByTagName('head')[0];
head.appendChild(jsurl_one);
Indeed, if I edit the generated Axure file directly and add the script to the head, it works. I usually inject javascript using Gregor’s Javascript Engine approach, but for some reason could not just add the this script and get it to work…
See details in that thread, and here is a test rp file that works for me in Chrome and Firefox (but not Edge or MSIE).Javascript with External JS.rp (58.4 KB)