Home > Uncategorized > PHPMotion Video text Ads Instructions

PHPMotion Video text Ads Instructions

January 13th, 2010 admin Leave a comment Go to comments

Make sure you are running V5 (latest version of jwplayer) from http://www.longtailvideo.com.
If you are not running this version then the adverts will not work correctly.

In the future I will be writing a nice addon to just place into phpmotion and you’ll have a nice GUI but at the moment..

create a file called “bannerexchange.php” and replace 26 with the zoneid you are given. You can leave this as 26 if you are just testing

<?php

// Place your ZoneID here
$zoneid = "26";

$adsplus1 =
'so.addVariable("plugins","http://www.bannerexchange.co.nz/tads/OpenAdStreamer.swf");
so.addVariable("config","http://www.bannerexchange.co.nz/tads/tads.php?zone='.$zoneid.'");';
$adsplus2 = '';
?>

in play.php

after
include_once(‘addons/longtail/longtail.php’);
add
include_once(‘bannerexchange.php’);

If you view your videos now then text ads should show up 10 secs after the video starts

If you want to remove it then remove the bannerexchange.php file and remove the line from play.php

Categories: Uncategorized Tags: ,
  1. No comments yet.
  1. No trackbacks yet.