Page 1 of 1

embedding JavaScript?

Posted: Sat Apr 29, 2017 5:04 pm
by nelebelen
I'm trying to add a Voki (avatar with voice) to my game as a Narrator/Host of my game but am having some issues. Embedding the direct link as an iframe seems to work in a plaque but appears as an empty box in conversations. (this is the link I signed up for their 15day free trial to check out their embedding code which seems to be JavaScript based.

Here's a sample of both types being offered:

<script language="JavaScript" type="text/javascript" src="//"></script>
<script language="JavaScript" type="text/javascript">AC_Voki_Embed(200,113,"2021dc6923f770418840026c9f26b9a5",14004142, 1, "", 0, 1);</script>


<object height="400" width="225" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"codebase="//,0,28,0" id="widget_name">
<param name="movie" value="//" />
<param name="quality" value="high" />
<param name="allowScriptAccess" value="always" />
<param name="width" value="225" />
<param name="height" value="400" />
<param name="allowNetworking" value="all"/>
<param name="wmode" value="transparent" />
<param name="allowFullScreen" value="true" />
<embed height="400" width="225" src="//" quality="high" allowScriptAccess="always" allowNetworking="all" wmode="transparent" allowFullScreen="true" pluginspage="//" type="application/x-shockwave-flash" name="widget_name">

The website does not give me the option to download as a video so I can bypass the embed and upload to ARIS as a video. Is there a way to include Voki as a Conversation?

Also...The sound is not playing as a link or as a video upload being triggered through AR..?

Re: embedding JavaScript?

Posted: Mon May 01, 2017 10:02 am
by djgagnon
In conversations, the background is not web content, but an ARIS media, so this will Likely only work as a video download. In a pinch you can use QuickTime to screen capture.

Re audio, make sure the sound mute switch on the iPhone is on.

Re: embedding JavaScript?

Posted: Sun Jun 18, 2017 3:01 pm
by whitlewis

We are adding some JavaScript to add an input box functionality as well as confirmation for what is inputted. When the prompt box appears, the title appears as about:// null. This title comes from ARIS.

Do you know where this title is coming from? I've been exploring this in JavaScript forums and usually the title says "website URL says:", so I'm not sure how to adjust this/where it is being called from.


Re: embedding JavaScript?

Posted: Thu Jun 22, 2017 1:49 pm
by cleffingwell
As far as I know the answer is 'No'. People generally shy away from that 'prompt' javascript functionality anyway and use the HTML input or create their own javascript prompt.