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

How to call AC_VHost_Embed twice

asimonok 12 hours ago in SitePal Platinum 0

Hi

My problem is: I have the react app and one of the page need to use sitepal scene via AC_VHost_Embed

function. But if we go to another page and return back on the page with scene without reloading page. How to init scene again? if call AC_VHost_Embed again will be thrown exception

add_html.js:1 Uncaught TypeError: Cannot set property 'innerHTML' of null
    at vhsshtml5_onaddhtmlcall (add_html.js:1)
    at HTMLScriptElement.vhsshtml5_add_html_jsLoaded (VM5997 vhost_embed_functions_v2.php:480

Also I use following code to include needed scripts.

//vhss-d.oddcast.com/vhss_players/sitepal/js/react_js_embed.js
//vhss-d.oddcast.com/vhost_embed_functions_v2.php?acc=${ENV.sitepal.accountId}&js=1

My html code

<div id="vhssHTML-character"></div>


When I reload the page scene works fine.

Do you have any ideas how to resolve this problem?

0
Answered

How do I find avartar loaded in the webpage or not?

bsuriyak.uts 6 days ago in SitePal Silver updated 5 days ago 9
Answer
Gil Sideman 6 days ago

Great question. 

You neeed to define the callback vh_sceneLoaded().

After this function is called, the API is open for business & ready to receive calls.

0
Completed

How do I stop the face movements of the avartar?

bsuriyak.uts 6 days ago in SitePal Silver updated 6 days ago 4
Answer
Gil Sideman 6 days ago

Hello! 

You can control the face movements using the API.

This function controls the 'idle' movements of the face, when it is not talking - 

setIdleMovement(frequency, amplitude);

This function controls facial movements during speech.

setSpeechMovement(amplitude);

To stop all movement set the amplitude to zero (I don't recommend that btw)


See technical example here - 

http://www.oddcast.com/support1/facialMovement_html.html

Best,

Gil

0
Under review

Not able to see the animation of Avatar on Website

Selekt 2 weeks ago in SitePal Gold updated by Gil Sideman 14 hours ago 3

Hi Guys,

I am not able to see any animation with the cursor. I did everything. Changed the settings, published it multiple times.

Still not working. Any help would be appreciated.

Also, I am not using any extensions that can block this. No firewall or Antivirus.

No External tool whatsoever.

Here's a link http://35.200.135.117/HIV%20Virtual%20Assistant/#/chatbot

0
Answered

Supported browsers?

J. Lawson 3 weeks ago updated by Gil Sideman 3 weeks ago 2

Does anyone know what browsers are supported? Or, maybe a better question is what browsers are NOT supported? Is IE, specifically?

Answer
Gil Sideman 3 weeks ago

Hi J - 

All modern browsers are supported on Mac and Windows.


IE11 is still supported, although that may change in coming months as its penetration is very low and in decline.

Prior versions of IE are not supported.

Hope this helps,

Regards

Gil

The SitePal Team

0
Under review

Not able to see the animation of Avatar on Website

Selekt 2 weeks ago in SitePal Gold updated by Gil Sideman 14 hours ago 3
0
Under review

Adding avatar in iOS apps

d.citi 4 weeks ago in SitePal Silver updated by Gil Sideman 4 weeks ago 1
0
Under review

AI not using the <srai> tags or writing to memory

KarleighBon 1 month ago in SitePal Gold updated by Gil Sideman 1 month ago 10
0
Under review

How to embed a scene in angular

mumo-dev 2 months ago in SitePal Platinum updated by Gil Sideman 3 weeks ago 17
+1
Under review

avatar movement on mouse is not with respect to avatar position where it is displayed.

Parvez 8 months ago updated by Gil Sideman 7 months ago 3