Monetize with HD FLV Player
HDFLVPlayer offers three mode of advertising within your player. They are Midroll ads, Preroll ads, Postroll ads.
<preroll> / <postroll>
Enable preroll or postroll from the xml/playlist.xml
Sample code from ads.xml :
<ad url=”videos/preroll.flv” targeturl=”http://www.platoon.in” clickurl=”" impressionurl=”"/>
<ad url=”videos/postroll.flv” targeturl=”http://www.platoon.in” clickurl=”" impressionurl=”"/>
· Target URL: To where the user should be directed when the user click on the Preroll Ad.
· clickurl and impressionurl is a predefined function offered by HDFLVPlayer.net.
Website owner can include the path of the tracking code URL developed by their own to track the number of clicks and impressions generated for Preroll Ad.
<midroll>
Enable midroll from the xml/playlist.xml
Sample code from xml/midroll.xml :
<midroll targeturl=”http://www.platoon.in” clickurl=”" impressionurl=”"><![CDATA[<span class='heading'>Platoon1</span><br><span class='midroll'>Platoon is a Offshore <b>Software and Web Development company</b> from India.</span> ]]></midroll>
· begin=”5” => 5 decides, after how many seconds of main video the midroll should display.
· Target URL : To where the user should be directed when the user click on the Midtroll Ad.
· clickurl and impressionurl is a predefined function offered by HDFLVPlayer.net. Website owner can include the path of the tracking code URL developed by them to track the number of clicks and impressions generated for Midroll Ad.
Formatting the Midroll text
You have freedom of formatting in both CSS & Non-CSS format
Eg: Non-CSS
<![CDATA[<font color="#ff9900" size="12"><b>Platoon is a Software and Web Development Company in India</b></font>]]>
Eg : with CSS
<![CDATA[<font color="#ff9900" size="12"><b>Platoon is a<span
class='midroll'> Software and Web Development</span> Company in India</b></font>]]>
Note : Class=’midroll’ is defined in CSS\midrollformat.css