AdXpansion for Nuevoplayer

Discuss of AVS script, custom modifications or anything related to this video script

AdXpansion for Nuevoplayer

Postby dargre » Tue Nov 02, 2010 2:05 am

Here's short tutorial how to integrate AdXpansion banner ad for Nuevoplayer4.

1. In your AdXpansion panel create new Zone.
2. Select Zone type: banner
3. In step 3 select Zone Size: Medium Rectangle 300x250
4. Once new Zone created find zone ID within javascript code: zone_id=xxxx

Here is your javascript code that you must paste above player container (div).
Code: Select all
<script type="text/javascript" src="http://ads.adxpansion.com/public/js/showads.php?zone_id=xxxx&ver=1&type=jwplayer"></script>

Of course set your zone ID.

For AVS script best paste this in file "templates/your_template/video_nuevoplayer.tpl" in first line.
For Clipshare script this should be file "templates/view_video_nuevoplayer.tpl"

AdXpnasion box appears on every pause event.
It can also appear when video ends, however for proper display you need to define new flashvar.
Best place to do it is Nuevoplayer's "config.php" file.
In AVS script it is located in "media/nuevo" directory.
In Clipshare script: "nvlab" directory.

New flashvar can be placed anywehere among other flashvars, eg. after this line:
Code: Select all
if(strlen($set['volume'])>0)      { print "<volume>".$set['volume']."</volume>\n"; }

paste in new line another flashvar code:
Code: Select all
print "<completemc>1</completemc>\n";


That's all.
Thank you,
Nuevolab Team
dargre
 
Posts: 331
Joined: Mon Sep 07, 2009 3:47 am

Return to AVS

Who is online

Users browsing this forum: No registered users and 0 guests

cron