SitePal’s community support is here to offer support, solve problems, share ideas, and update our customers about the latest from SitePal!
0
Completed

Avatar Canvas Error when responsiv within react

hanihussein1997 9 months ago in SitePal Gold updated by Gil Sideman 8 months ago 19

Hello,

currently we implement the SitePal avatar within our React Website and everything works complelty fine. But if I want to make the Avatar more reponsive, by changing the last digit to 1, i get the following error:

Image 245


This is how we integrate the Avatar currently:

Image 246


Answer
Gil Sideman 8 months ago

Hello!


We've implemented a responsive react JS example for your reference. 

In this example we positioned the SitePal character in a realistic web page, with actual content & style.

The example can be found on our support page - www.sitepal.com/support

Here is a direct link - https://sitepal.com/api/examples/react-responsive/index.html


There's a download link on the page itself (at the bottom) - where you can download the source of this page.

Please review, and see if you can use the same methodology. 

I hope this will be helpful.

Let me know how goes.

Best,

Gil

0
Started

CORS error - React JS

Krusho 9 months ago in SitePal Platinum updated by Gil Sideman 8 months ago 4

Access to XMLHttpRequest at 'http://cache-a.oddcast.com/tts/genB.php"from origin has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

We have added our domain in the licensed domains and still facing the above error


Enviroment React JS

0
Fixed

The screen fades to white when I select a masculine voice

Emanuele Sgarra 9 months ago updated by Gil Sideman 8 months ago 5

When I open www.ttsdemo.com the site appears as normal, with an avatar that represents a feminine voice, but when I select a masculine voice, instead of changing into its corresponding avatar, the screen fades to white, as seen in the photo below, making it impossible for the computer to read the text that I want to write

Image 242

Answer
Gil Sideman 8 months ago

The problem with this demo has been resolved. 

Thank you for your patience.

Best,

Gil

The SitePal Team

0
Completed

i tried to change the avtr but after saving the avatar did not changed

rajeev854180 9 months ago in SitePal Platinum updated by Gil Sideman 9 months ago 2
0
Answered

Question for sayText

nextexchange 9 months ago in SitePal Gold updated by Gil Sideman 9 months ago 2

1. When I call sayText to make the avatar speak a text, can I store the audio returned from the SitePal server?

2. When I call sayText to make the avatar speak a text, can I monitor the start and end of avatar speaking?

Answer
Gil Sideman 9 months ago

Hello!

1.

If you are looking to improve performance - there is no need to store the audio because our built-in caching system already does that for you. We cache over 20M audios on the cloud to ensure that subsequent calls for the same audio take less time.

If your intention is different - please send us a note to support@sitepal.com and explain what you have in mind, we will advise.

2.

Yes, when you call sayText or sayAudio or sayAI - you can use out callbacks to know when audios start speaking & end speech. You can also receive progress callbacks if you want to.

See this example for reference - https://sitepal.com/api/examples/syc_classic.html

And checkout the "callbacks" section in the Client API reference for more information.


Note: Start & End audio callbacks are always sent - all you need to do is setup the JS callback functions to receive them.

To receive progress callbacks you need to turn ON progress attribute using the 'setStatus' call.

Hope this helps!

Regards,

Gil

The SitePal Team

0
Under review

Unable to login after changing email

Ben Ng 4 years ago in SitePal Gold updated by Gil Sideman 4 years ago 1
0
Under review

TTS API stalls after a number of interactions, but not when running on localhost

jheno 4 years ago in SitePal Silver updated by Gil Sideman 4 years ago 2
0
Under review

I can't download video.(in annual Gold plan)

Vitaliy Vozniy 5 years ago in SitePal Gold updated by Gil Sideman 5 years ago 4
0
Under review

Receive APS error when trying to upload external audio file

comptaylor 5 years ago updated by Gil Sideman 5 years ago 2