Self Voicing panel/enactor for UIOptions.
yzenevich at ocadu.ca
Fri Jul 26 04:10:25 UTC 2013
Just a quick update on the self voicing work I've been doing in the past couple of days.
I've made some improvements to the existing version of the self voicing enactor. For example, there's no more limitation (introduced due to the Google Translate TTS) of 100 characters max at a time. Right now the text to speech engine will utter a complete text node at a time. There's also a better handling of media events which eliminated the pre-existing timeout hacks in between playback and errors.
The not so good news is that the self voicing enactor is almost non-working in Firefox. It seems that the the audio element events just die shortly after the playback has started. This happens due to the fact that the browser does not seem to properly handle the update of the audio's src attribute:
Expected behaviour would be an |canplaythrough| event being fired (which would trigger the enactor).
Actual behaviour is an incorrect handling of the response to the TTS engine server that results in the following response message:
Reload the page to get source for: (url to tts engine server)
I've also experimented with replacing the audio tag completely and with not attaching the audio tag to the document itself but to no success.
Perhaps some of you have suggestions for different scenarios that could be tested.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fluid-work