Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: How to add Google Adsense in web player?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2007
    Posts
    906

    Default

    You can add google adsense to jw player.

    Check Google Adsense Ads | LongTail Video | Home of the JW Player
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  2. #2
    Join Date
    Feb 2010
    Posts
    2

    Default

    Hello,
    You can directly use the HTML ad plugins.which makes web flash web player gets the functionality of adding html-ad inside or over videos for monetizing videos on website. And the html-ad can be any thing that can be implemented with HTML code.

  3. #3
    Join Date
    Sep 2010
    Location
    Pokhara Nepal
    Posts
    49

    Default where to insert codes that given by longtail video?

    Quote Originally Posted by hostonnet View Post
    You can add google adsense to jw player.

    Check Google Adsense Ads | LongTail Video | Home of the JW Player
    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>
    Nepal's Largest video community portal. share wisely at WWW.CLONEVIDEOS.COM

  4. #4

    Default

    Edit include/player.inc


    Add the following code

    so.addParam('wmode','transparent');
    so.addVariable('plugins', 'ltas');
    so.addVariable('ltas.cc', 'enmykxjrngfjeqp');
    after

    so.addVariable("overstretch", "true");

  5. #5
    Join Date
    Sep 2010
    Location
    Pokhara Nepal
    Posts
    49

    Default Thank you, It was a great help

    Quote Originally Posted by buyscripts View Post
    Edit include/player.inc


    Add the following code



    after
    Thank you very much for your help. it is working now perfect. Hartley appreciated.
    Nepal's Largest video community portal. share wisely at WWW.CLONEVIDEOS.COM

  6. #6
    Join Date
    Sep 2010
    Location
    Pokhara Nepal
    Posts
    49

    Default Ads to appear in embeded videos from my site

    Quote Originally Posted by buyscripts View Post
    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.
    Nepal's Largest video community portal. share wisely at WWW.CLONEVIDEOS.COM

  7. #7
    Join Date
    Nov 2010
    Posts
    3

    Default

    Any body plz tell me the procedure of "How To Put Adsense in Jwplayer" Like "Clonevedios" or Default as in"http://daceband.com".(See Any Vedio in it).

    Plz Help!!!

  8. #8
    Join Date
    Sep 2007
    Posts
    906

    Default

    Go to https://dashboard.longtailvideo.com/signup.aspx and add your domain after login to dashboard

    create channnel = > click "Run Your Own Ads" = > insert google adsense code and save

    Edit include/player.inc and make the necessary changes describe above
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  9. #9
    Join Date
    Nov 2010
    Posts
    3

    Default

    Thanx for reply but where do i find "include/player.inc" ?

    as i have done everything in preview they show ads but not in my real vedio.

  10. #10
    Join Date
    Nov 2010
    Posts
    4

    Default Player ads

    I too am trying to get ads up and running using this method.
    I've registered and setup with longtail, ads seem to be working fine in preview and are activated on the dashboard. I have used the three lines of code mentioned above altering the account id in player.inc

    At present no ads are showing and I'm wondering what I've missed? Any help greatly appreciated. Thanks.
    Last edited by ac9000; 11-21-2010 at 12:04 PM.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •