How to make Google Video Adsense work with WordPress

Written on October 11, 2007 – 1:43 am | by InternetStarter |
I've been getting a lot of emails on how did I get Google's video adsense to work on my WordPress blog? Well I wish I could say a coded this great thing, but actually it's a plugin that does all the magic. I used a javascript inline plugin from Just download the plugin, activate on your blog and insert your code video adsense code here and it works. Good luck everyone on using Google's video adsense. UPDATED: Somone just told me that the plugin, didn't work for them. It worked as far as showing the Google video adsense, but it screwed up all the rest of his post. All the paragraph and line breaks were gone. What you will need to do is go to your plugin editor and remove this line of code remove_filter('the_content', 'wpautop'); that should restore your paragraph and line breaks. Here is the plugin in action ANOTHER UPDATE: It seems that with Internet Explorer the Video Adsense unit can't be seen>>> I was wrong! the video adsense does work on Internet Explorer. I just does work with browser previews

Related Posts

Put your related posts code here
  1. 10 Responses to “How to make Google Video Adsense work with WordPress”

  2. By Houston Trucks on Oct 11, 2007 | Reply

    Hello….Thanks for the info on the plugin. I removed the line you suggested but when I loaded the adsense video, my sidebar went below the video?? Any idea’s are appreciated, Jim
    You have a great site too!

  3. By InternetStarter on Oct 11, 2007 | Reply

    What theme are you trying to do it on? Is it for your Houston Truck Site?

  4. By Houston Trucks on Oct 11, 2007 | Reply


  5. By InternetStarter on Oct 11, 2007 | Reply

    What video adsize are you using?

    I installed your theme on my test wordpress install directory

  6. By Houston Trucks on Oct 11, 2007 | Reply

    The smallest one

  7. By InternetStarter on Oct 11, 2007 | Reply

    it seems to be a css problem, in this post it seems to work

  8. By Houston Trucks on Oct 11, 2007 | Reply

    Yes I know that’s what I can’t understand. I’m not very knowledgeable about css or wordpress. I appreciate your help, Thanks.

  9. By Jhonny on Oct 12, 2007 | Reply

    Mine is not working in IE7. How did you make it work with it? No problem with Firefox.

  10. By on Jun 23, 2008 | Reply

    Thanks…. Nice tool, I was looking for long time… I saw in some blog, but wondering how it has been done. Thanks… I finnaly got it.

  11. By Jim S on Aug 9, 2008 | Reply

    I tried to duplicate what you have here to see if I could get adsense video units to work in wordpress. So, I downloaded and installed the theme bobv2. Then I installed and activated the plugin inline-js. I then put my adsense video code in a post and posted it. I had the same problem as before. The player loads but doesn’t show any videos. Only the message “An error has occurred, Please try again later”. I know the code works because I also have it on a standard HTML page and it works fine every time. So, what is different about your site here that you can get it to work? Thanks….. Jim

Post a Comment

About Me

I hope to share my knowledge and experiences related to my online money making projrcts. Most articles on this site are related to wordpress, short reviews, tips and making money online. More

Want to subscribe?

 Subscribe in a reader Or, subscribe via email:
Enter your email address:  

Go Daddy $1.99 Domains 125x125 SpeedPPC - PPC Marketing at Warp Speed Gravity Forms Plugin for WordPress
Affiliate Squeeze Page Graphics
Find entries :