[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5312: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5312: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5312: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
Field Day Forums • embedding JavaScript?
Page 1 of 1

embedding JavaScript?

Posted: Sat Apr 29, 2017 5:04 pm
by nelebelen
I'm trying to add a Voki http://www.voki.com/ (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="//vhss-d.oddcast.com/voki_embed_functions.php"></script>
<script language="JavaScript" type="text/javascript">AC_Voki_Embed(200,113,"2021dc6923f770418840026c9f26b9a5",14004142, 1, "", 0, 1);</script>


OR

Deprecated:
<object height="400" width="225" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"codebase="//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" id="widget_name">
<param name="movie" value="//vhss-d.oddcast.com/vhss_editors/voki_player.swf?doc=//vhss-d.oddcast.com/php/vhss_editors/getvoki/chsm=2021dc6923f770418840026c9f26b9a5%26sc=14004142" />
<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="//vhss-d.oddcast.com/vhss_editors/voki_player.swf?doc=%2F%2Fvhss-d.oddcast.com%2Fphp%2Fvhss_editors%2Fgetvoki%2Fchsm=2021dc6923f770418840026c9f26b9a5%26sc=14004142" quality="high" allowScriptAccess="always" allowNetworking="all" wmode="transparent" allowFullScreen="true" pluginspage="//www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" name="widget_name">
</object>



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
Hello!

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.

Thanks!
Whitney

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.