• Love the plugin but I have issue with the <span> wrapping the <iframe> or <object>. WP’s wpautop() automagically liberates block elements from P tags but since SPAN is not a block element it remains inside the P tag. SPANs containing block elements is invalid markup and it makes it hard for my formatting hook to distinguish the video block from normal paragraph text.

    Since it would effectively be the same how about removing it from the code and changing the default value in “Video template” to
    <span class="youtube">{video}</span>?

    I’d be very grateful 🙂

    Hari Karam Singh

    http://wordpress.org/extend/plugins/smart-youtube/

  • The topic ‘[Plugin: Smart YouTube] Extract to default setting’ is closed to new replies.