+2
Answered

Play multiple audios for the same scene onClick

N Richardson 11 years ago in SitePal Gold updated by Gil 11 years ago 1
Hello, how would I go about embedding an avatar on a page with lots of different pieces of writing. With a button or hyperlink, the avatar speaks the selected sound clip ?

So avatar doesn't change remains on the webpage but acts as like a narrator for the user?

Thanks
Hi N -
You would typically use our API for that.

By adding basic programming commands in your web page you would instruct your SitePal character to speak certain audios in response to the user clicking on a button or hyperlink.

This is not hard to do, but requires basic familiarity with HTML and Javascript. By using our many support examples you should be able to do it without being an expert.

See relevant support example here -
http://www.oddcast.com/support/sayTex...
Click on "View the Source of this page" at the bottom to see how this was constructed.

Many other API examples are available here -
http://www.oddcast.com/support/refere...
and on our main support page -
https://www.sitepal.com/support/

Hope this helps,
Gil