[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)
embedding JavaScript? - Field Day Forums
embedding JavaScript?
  • nelebelen
    Posts: 6
    Joined: Sat Feb 18, 2017 4:16 pm

    embedding JavaScript?

    by nelebelen » Sat Apr 29, 2017 5:04 pm

    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..?
  • User avatar
    djgagnon
    Site Admin
    Posts: 133
    Joined: Tue Sep 20, 2016 10:52 pm
    Location: Madison, WI
    Contact:

    Re: embedding JavaScript?

    by djgagnon » Mon May 01, 2017 10:02 am

    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.
  • whitlewis
    Posts: 2
    Joined: Wed Mar 22, 2017 10:30 am

    Re: embedding JavaScript?

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

    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
  • cleffingwell
    Posts: 50
    Joined: Tue Feb 14, 2017 7:45 am
    Location: Eau Claire
    Contact:

    Re: embedding JavaScript?

    by cleffingwell » Thu Jun 22, 2017 1:49 pm

    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.