Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

How to add in video ad to Flowplayer 5 Wordpress plugin?



9:17 pm on May 21, 2013 (gmt 0)

The code from adXpansion looks something like this:

<!-- Generated by AdXpansion -->
<script type='text/javascript'>
var adx_displayonload=1;
var adx_isad_display = 1;
<script type='text/javascript' src='http://ads.adxpansion.com/public/js/showads.php?zone_id=101683&ver=1&type=flowplayer'></sript>
<!-- End of AdXpansion code -->

The Wordpress plugin is based on Flowplayer 5 (among others, but there is a way to select this one), and it consists of the following files:

Flowplayer.js (http://pastebin.com/uT9VYwbu)
Flowplayer.min.js (http://pastebin.com/hJ1UZApy)
Index.html (http://pastebin.com/XeLexkAz)

I would like to use it on multiple sites (up to 50 or more), and the ad zone code will be different for every site. I guess I would need to create an array, and iterate through it, in order to display ad code depending on the domain name (this should not be a problem). I am just not sure where would I insert the code etc.

Featured Threads

Hot Threads This Week

Hot Threads This Month