[wp-trac] [WordPress Trac] #10337: Easier embeds for 2.9 (oEmbed perhaps?)

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 14 13:52:21 UTC 2009


#10337: Easier embeds for 2.9  (oEmbed perhaps?)
----------------------------+-----------------------------------------------
 Reporter:  ryan            |       Owner:  Viper007Bond 
     Type:  task (blessed)  |      Status:  assigned     
 Priority:  normal          |   Milestone:  2.9          
Component:  Shortcodes      |     Version:               
 Severity:  normal          |    Keywords:  needs-testing
----------------------------+-----------------------------------------------

Comment(by Denis-de-Bernardy):

 Could we add a class in there in a way or another, and ensure objects
 don't get wrapped in p tags?

 I just tried:

 http://www.youtube.com/watch?v=hl2UUunlI2Q

 Works wonders, *but* I got this code:

 {{{
 <p><object...
 }}}

 instead of the expected:

 {{{
 <div class="oembed oembed-youtube"><object...
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10337#comment:60>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list