How to add Google Adsense in web player?
Hi all, I recently want to build a site about the hot music and MTV. So I need to add a lot of videos on my site. I expect to earn with this site through google adsense, and I notice that Youtube’s player can show google adsense then people can click the ads when they viewing videos. I wish to have such player too; do you know how to realize it or what software can I use to do it?
Hope some one can help me. Thanks in advance.
where to insert codes that given by longtail video?
Quote:
Originally Posted by
hostonnet
i just registered and approved for ads from longtail video. but i am confused where (which file or folder and exactly where) to insert those codes so my video will show the advertisements. can you please help out?
i got the problem with vidoe path or url location also.
i have made it like this if it is correct then please let me know where should i insert this codes?
codes are :
Code:
<div id="jwplayer1"></div>
<script type="text/javascript">
var so = new SWFObject('http://www.clonevideos.com/player/player.swf', 'jwplayer1', '400', '320', '8');
so.addParam('allowscriptaccess', 'always');
so.addParam('allowfullscreen', 'true');
so.addParam('wmode','transparent');
so.addVariable('plugins', 'ltas');
so.addVariable('ltas.cc', 'enmykxjrngfjeqp');
so.addVariable('width', '400');
so.addVariable('height', '320');
so.addVariable('file', '&file={$base_url}/xml_playlist.php?id={$view.video_info.video_id}');
so.write('jwplayer1');
</script>
Thank you, It was a great help
Quote:
Originally Posted by
buyscripts
Edit include/player.inc
Add the following code
after
Thank you very much for your help. it is working now perfect. Hartley appreciated.
Ads to appear in embeded videos from my site
Quote:
Originally Posted by
buyscripts
Edit include/player.inc
Add the following code
after
It seems ads are working now in the site (clonevideos.com) but i checked in videos embeded from clonevideos to other sites (link to check=http://net2nepal.com/general/happy-diwali/) is not showing ads. is there any other codes to add? please help out.