Forums

Smart YouTube PRO
Extract to default setting (1 post)

  1. harikaram
    Member
    Posted 6 months 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/

Reply

You must log in to post.

About this Plugin

About this Topic