WordPress.org

Ready to get started?Download WordPress

Forums

Wp-Insert
[resolved] bug: ad is insert inbetween object tags (1 post)

  1. chovy
    Member
    Posted 2 years ago #

    I have a youtube video on my page, and your ad wrapper is being inserted in the middle of the object tags:

    <object width="425" height="355"><param value="http://www.youtube.com/v/tO0OJ8L0SCs?fs=1" name="movie"><div style="margin: 20px;padding: 0px; float: right;" id="in_post_ad_middle_1"><script type="text/javascript"><!--
    google_ad_client = "ca-pub-xxxxx";
    /* Frantic - middle of post */
    google_ad_slot = "2387445018";
    google_ad_width = 300;
    google_ad_height = 250;
    //-->
    </script>
    <script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
    </script><ins style="display:inline-table;border:none;height:250px;margin:0;padding:0;position:relative;visibility:visible;width:300px"><ins style="display:block;border:none;height:250px;margin:0;padding:0;position:relative;visibility:visible;width:300px" id="aswift_1_anchor"><iframe width="300" scrolling="no" height="250" frameborder="0" style="left:0;position:absolute;top:0;" name="aswift_1" id="aswift_1" vspace="0" onload="var i=this.id,s=window.google_iframe_oncopy,H=s&&s.handlers,h=H&&H[i],w=this.contentWindow,d;try{d=w.document}catch(e){}if(h&&d&&(!d.body||!d.body.firstChild)){if(h.call){i+='.call';setTimeout(h,0)}else if(h.match){i+='.nav';w.location.replace(h)}s.log&&s.log.push(i)}" marginheight="0" marginwidth="0" hspace="0" allowtransparency="true"></iframe></ins></ins></div><param value="true" name="allowFullScreen">
    				<embed width="425" height="355" allowfullscreen="true" type="application/x-shockwave-flash" src="http://www.youtube.com/v/tO0OJ8L0SCs?fs=1&rel=0"></object>

    You should try to avoid insertion inside object tags if possible.

    http://wordpress.org/extend/plugins/wp-insert/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags