[wp-trac] [WordPress Trac] #21540: Add support for responsive video embeds

WordPress Trac noreply at wordpress.org
Wed Oct 31 22:23:11 UTC 2012


#21540: Add support for responsive video embeds
-------------------------+------------------------------
 Reporter:  obenland     |       Owner:  Viper007Bond
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Embeds       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------
Changes (by Viper007Bond):

 * owner:   => Viper007Bond
 * status:  new => assigned


Comment:

 This is unfortunately easier said than done because we don't want to wrap
 all content types, just block types such as videos and images. However
 only the oEmbed class gets to see what type of content is being returned
 and it just returns some HTML without any context. This HTML is then
 cached by the embed class, again without any context.

 So we could add wrapping to the oembed class, but that wouldn't affect
 existing cached data, only posts edited/saved after any change got pushed
 into core.

 I guess that's better than nothing though...

 Thoughts?

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


More information about the wp-trac mailing list