How to make Google Video Adsense work with WordPress
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 http://www.ooso.net/index.php/inline-js
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 http://ipinfo.info/netrenderer/












8 Responses to “How to make Google Video Adsense work with WordPress”
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!
By InternetStarter on Oct 11, 2007 | Reply
What theme are you trying to do it on? Is it for your Houston Truck Site?
By Houston Trucks on Oct 11, 2007 | Reply
Yes
By InternetStarter on Oct 11, 2007 | Reply
What video adsize are you using?
I installed your theme on my test wordpress install directory
http://www.internetstarter.com/test/
By Houston Trucks on Oct 11, 2007 | Reply
The smallest one
By InternetStarter on Oct 11, 2007 | Reply
it seems to be a css problem, in this post it seems to work
http://houstontruckdeals.com/houston-trucking-videos/
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.
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.