Your comments
Hello Ahmed -
We recommend that application developers using native-code-compiled languages like C# load a 'webview' pane to display and control their character.
In this way it is possible for both desktop and mobile native apps to load and control SitePal characters via the JS API.
Hope this helps, best,
Gil
Thanks Kumar for clearing this up.
Sorry Matt for leading you astray - apparently I referenced the wrong document.
To avoid confusion - I removed my previous response.
Best,
Gil
The SitePal Team
This issue was discussed in detail in another topic - please see -
Best,
Gil
Of course.
I just noticed that the examples quoted below are quite old - and our SitePal characters are being displayed using Flash technology.
Flash has since been widely deprecated (mainly because it is not supported on mobile devices). Our SitePal characters no longer require Flash - and are fully mobile compatible.
Here are the current/updated versions of those example pages -
http://www.oddcast.com/support1/sayMultiple.html
http://www.oddcast.com/support1/tts_limit.html
Hope this helps,
Gil
The embed code - and any API code goes into your web page.
First - just add your Scene's embed code - and see that your SitePal character appears on your page. Then as a second step - add the API code. Good luck!
I'm glad this is helpful!
We'll fix the link, sorry about that - for now simply right click on the page and select "view source" option.
Best,
Gil
Hi Doug - As I've not heard back - I'm following up on this to make sure you received assistance.
If you still need help - please let me know how I can assist.
Or - send an email to our support at - support@sitepal.com and we will get back to you asap.
Best,
Gil
Customer support service by UserEcho
First - please find out how to load a webview pane into your C# application.
There are numerous examples online. See for example -
https://code.msdn.microsoft.com/HTML-WebView-control-sample-56e773fa
Another MS example explains how to interoperate between your native code and Javascript -
https://code.msdn.microsoft.com/windowsapps/How-to-invoke-JS-at-Native-df3fd459
The above are just random examples I selected, not necessarily the best for your purpose - please look for the examples that work best for you.
Once you are able to load an (internet based) web page into your C# application, and communicate back and forth from the native app to a JS function in the web page, add your SitePal Scene to your web page (copy paste your Scene's embed code from your SitePal account).
Then update your code to invoke SitePal JS API functions in your page as needed.
Hope this helps,
Gil