-
how i can add an adsense code like this?
<div id=”player” style=”display:block;width:425px;height:300px;”></div>
<script>
flowplayer(“player”, “flowplayer.commercial-3.2.5.swf”, {
clip: {
url: “http://vod01.netdna.com/vod/demo.flowplayer/flowplayer-700.flv”,
ads: “medium” // this will try to load a preroll and display an overlay at 10 seconds
// possible values are none, low, medium, high, insane
// please visit flowplayer.org/plugins/advertising/adsense
// for more information on how to define ad slots
},plugins: {
controls: {
autoHide: “never”
},
/* your other plugins come here */
adsense: {
url: “flowplayer.adsense-1.6.swf”,
publisherId: “ca-video-pub-8xxxxxx” / this is your AFV publisher id
channel: “180497843”, // this is the ID of you custom channel
adTest: true // this is MANDATORY while testing and integrating
// the plugin. Must to be removed in a live env.
}
}
});
</script>