[Javascript: SayText] How can I specify the avatar I'd like to use for speech?

Gillian Ng 10 years ago updated 10 years ago 2
I have many avatars on a page, which I'd like to use to say different things. How can I select an avatar use for speech with SayText()?

Thank you. :)
Gillian -
To use many avatars on a page, and address each of them distinctly via the API, you would need to embed each of them in an iFrame.

There's an example of doing so on our support page - check it out:

Hope this helps,
Hi Gil,

Thanks for your reply. I've embedded each of them in an iFrame already, and I'll take a look at the example you've linked.