Jump to content

I am using revive version 5.0.2 . How to create interstitial video ads ? I linked zone and interstitial banner. But it doesn't work for me what is wrong invocation code for interstitial banner.


Recommended Posts

Invocation Code sample for interstitial video ads.

Below code , when I run in HTML, it show white page and I only see console tag error that unexpected token. interstitial.php.

<script type='text/javascript'><!--//<![CDATA[

    var adurl = (location.protocol=='https:'?'https://example.com/www/admin/plugins/Outstream/delivery/interstitial.php':'http://example.com/www/admin/plugins/Outstream/delivery/interstitial.php');

    document.write ("<" + "script language='JavaScript' ");

    document.write ("type='text/javascript' src='"+adurl);

    document.write ("?zoneid=130");

    document.write ("&close_time=0");

    document.write ("&vid_pos=1");

    document.write ("&amp;position=");
   document.write ("&amp;loc=" + escape(window.location));
   if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
   document.write ("&amp;display_width=" + window.innerWidth);
   document.write ("'><\/scr"+"ipt>");
//]]>--></script>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...