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

How to Disable logs

pbk 1 year ago in SitePal Gold updated by Gil Sideman 1 year ago 3

Image 225

how to disable these logs? 
SitePal.js --> is the library [sitepal-react]
other files are from core sitepal

Answer
Gil Sideman 1 year ago

Hello,

I would like to update you about the query you had related to disabling logs has been resolved now.

Console Log output has been minimized.
A new parameter is now added to "setStatus" to enable more detailed logging if needed.
See "setStatus" documentation in API Reference for more information here https://sitepal.com/documentation


Regards,

The Sitepal Team

+1
Under review

CORS error - Access to XMLHttpRequest at 'https://cache-a.oddcast.com/tts/genB.php? blocked by CORS

Vivek 1 year ago in SitePal Gold updated by Gil Sideman 1 year ago 1

CORS error - Access to XMLHttpRequest at 'https://cache-a.oddcast.com/tts/genB.php? from origin "ourdomain.com" 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

Environment - ReactJS

0
Answered

I have to buy more minutes for download my video

info 1 year ago in SitePal Gold updated by Gil Sideman 1 year ago 2
Answer
Gil Sideman 1 year ago

Hello!

For prompt assistance please send us a note to support@sitepal.com.

Regards,

Gil

The SitePal Team

0
Answered

multiple independent scenes with Speak Text-To-Speech Audio via API

himanshu 1 year ago updated by Gil Sideman 1 year ago 2

I want to use multiple avatars/scenes on one page and add Speak Text-To-Speech Audio individually using API or other controls. I cannot find any example of it, except conversation one. But conversation one is not my case.

Thanks

Answer
Gil Sideman 1 year ago

Hello!

Each SitePal Scene, when embedded into your page, is embedded in a "Portal", which is our name for the "embedded placeholder" defined by the embed code, in which your Scene is loaded.

So when you embed a SitePal Scene into your web page, first comes the Portal, which then loads the specified Scene.


In most cases you do not need to know or care about this distinction between Scene and Portal, but in some cases you do.


One such case is when you want to hide ("unload") the Scene from your page, or replace it with another. You can do that by instructing the Portal to unload or load a Scene.


The other case is when there are multiple Scenes embedded in your web page, and you need to address them individually with API calls. The Portal is an addressable object. When the embed code first loads into your page, you can get the Portal ID as a return value from the embed function. Then use that value to direct API calls to the Portal.

This is done using the 'setPortal' call. When you call 'setPortal' - you are letting us know that all further API function calls should be directed at that Portal. This includes 'sayText' & 'sayAudio' calls. 

That's how we implemented the SitePal conversation example, and that is also the answer to your question.


Please see this example - https://sitepal.com/api/examples/conversation.html

and take note how the Portal ID is initially retrieved when the embed code loads, and how 'setPortal' is called whenever it is the next character's turn to talk.

So even though you may not be looking to implement a conversation - this example is entirely relevant to your question.

For more information please see the section: "Portals & Embedding Multiple Characters on a Page" in the API reference - https://www.sitepal.com/docs/vhost_API_Reference.pdf  (on page 6), and see the API calls related to Portals, documented on p.26. 


I hope this is clear & helpful.

Regards,

Gil 

The SitePal Team


0
Answered

Can we pass link/url of a MP3 directly in sayAudio() API call?

Sanjay 1 year ago in SitePal Gold updated by Gil Sideman 1 year ago 2

Hi, I am one of the developer of a client using your platform (Gold Plan). We need help with client side API.

Is it possible to pass url/link of a mp3 directly in sayAudio() API call? We have mp3 files hosted in different places that we want to pass to the avatar during runtime. Is it possible?

Thanks,


Answer
Gil Sideman 1 year ago

Hello Sanjay -

All audio files must first be uploaded to your SitePal account & pre-processed. Pre-processing prepares the file for being "spoken" - by performing lipsync analysis and optimizing audio format for streaming.

We do provide upload audio API functionality with the Server API. This should allow you to first upload an audio, and then speak it with the Client API 'sayText'.

But the conjunction of these two functions may not be fast enough for realtime (you can try) - it would work best if all your audios were pre-uploaded into the account, either manually or programmatically.

Let us know if we can further advise or assist.

Regards,

Gil

The SitePal Team

+1
Under review

pronucnciation control for TTS

joewalsh 7 years ago in SitePal Platinum updated by Gil Sideman 7 years ago 1
+1
Under review

Superposition of fields

François 7 years ago updated by Gil Sideman 7 years ago 4
0
Under review

Registration Issue

hogan4600 8 years ago updated 8 years ago 4
0
Under review

download your content to upload where you want it.

Deanna 8 years ago in SitePal Studio updated by Gil Sideman 8 years ago 3
+1
Under review

Customer Suppoer

Mary 8 years ago in SitePal Silver updated by Gil Sideman 8 years ago 4