WordPress.org

Ready to get started?Download WordPress

Forums

Smart YouTube PRO
[Plugin: Smart YouTube] Extract to default setting (1 post)

  1. harikaram
    Member
    Posted 2 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic