هل تعلم بوت Libre كما يوفر مجانا استضافت الدردشة الحية على موقع الويب الخاص بك أو الهاتف المحمول التطبيق ؟
SDK and Web API : How to add a 3D avatar to your website or blog

RE: How to add a 3D avatar to your website or blog

قبل randywreed نشر Mar 21 2021, 14:21

Is there some minimum time for a video. I uploaded a four second video of my avatar talking, but it does not appear to play. The first frame of the video appear, but nothing more. 

I'm running this from the Avatar screen. Here's the code:

<script type='text/javascript' src="https://www.botlibre.com/scripts/sdk.js"></script>
<script type='text/javascript'>
SDK.applicationId = "xxx";
var sdk = new SDKConnection();
var web = new WebAvatar();
web.version = 8.5;
web.connection = sdk;
web.avatar = "37788053";
web.voice = "cmu-slt";
web.voiceMod = "default";
web.width = "300";
web.height = "300";
web.createBox();
web.addMessage("Hello, my name is Tuesday", "", "", "");
web.processMessages();
</script>


معرف: 37789967
نشر: Mar 21 2021, 14:21
تحديث: Mar 22 2021, 9:42
الردود: 0
الآراء: 1114, اليوم: 1, الأسبوع: 2, الشهر: 19
0 0 0.0/5