vh_sceneLoaded of Full body TTS model
We are a Gold license user. I emailed this question to SUPPORT@SITEPAL.COM for a week but I still haven't heard from SitePal. Therefore, I post it here in this forum.
We created a Full body TTS model. We didn't assign any audio clip to it because we will call the "sayText" function later. However, we found that when the model is loaded in our webpage, sometimes the “vh_sceneLoaded” function is triggered, sometimes it is not. We are using Chrome 48.0.2564.116 m.
Here are the HTML and js we tested on:
<html>
<body>
<script language="JavaScript" type="text/javascript">
function vh_sceneLoaded(){
console.log('vh_sceneLoaded');
}
</script>
<script language="JavaScript" type="text/javascript" src="http://vhss-d.oddcast.com/fb_embed_functions_v3.php?acc=xxxxxxx&js=1&h=200&w=100&bc=&fs=1&lo=1&ss=2476728&sl=0&tr=1&min=0&eid=xxxxxxxxxxxxx&fv=9"></script>
</body>
</html>
Could you kindly advise?
Thanks.
Customer support service by UserEcho
Hi Dom -
We were looking at this issue earlier today and scratching our heads a bit.
We are actually aware of a bug where the vh_sceneLoaded is called more than once (only on FullBody characters) - which we will correct in the next release - but not aware of any case where it is not called at all.
There's a simple workaround for the "more than once" problem btw.
So we had QA perform a review - they created two test pages -
http://www.oddcast.com/support/sync_event.html
http://www.workboy.com/sumit/voki2.html
and tested on desktop, iOS and Android - and I'm told that in all cases the sceneLoaded event did fire.
Can you post a link to your test page? We could borrow your code as posted above, but it would be best to review the same page you did.
LMK,
Gil
The SitePal Team
Hi Gil,
Thanks for your reply.
Could you kindly look into the email I just resent to support@sitepal.com (dated 2 Mar, 2016)? It contains the exact codes that link to our scene/model. We experienced the problem on either a testing server or localhost. For your investigation, please.
Cheers,
Dom