Instant text to speech

Yeah, it doesn’t work for me either, Windows 10 with latest Chrome (nor Firefox, nor Edge, nor MSIE)

I did get it to work on AxShare here: Responsive Voice
and using this line in a plugin:

<script src='https://code.responsivevoice.org/responsivevoice.js'></script>

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…

1 Like