I have more rthan one scvene on one webpage. How do I get the second character to start speaking AFTER the first one finishes
You would want to use the API callbacks to coordinate.
Check out the API Reference documentation for vh_talkEnded.
You also need to load the characters into separate iframes to be able to individually control them.
We have a code example doing so - please check it out -
and let me know if any questions.
When visiting the "Dynamically Call Text-to-Speech" demo page (http://www.oddcast.com/support1/saytext_classic.html) from an iOS device (confirmed with iPads running iOS 9 and iOS 10), a spinning icon appears and the audio is not played. The avatar itself renders fine; it just malfunctions when any of the links on the page are clicked to generate TTS audio. Other demos with static audio work fine. Symptoms appear with Safari, Chrome, and Firefox. We are experiencing the same symptoms with our own avatars on our own pages. Other browsers and operating systems work fine. Is this a known issue, and is there a workaround for iOS devices?
In revisiting this issue - I'd like to add that the code was revised shortly after this discussion to ensure that attempting to initiate speech on a mobile browser before page is activated will not cause an error.
Customer support service by UserEcho