[wp-trac] [WordPress Trac] #23542: Twenty Thirteen: Make videos in video post formats 724px wide

WordPress Trac noreply at wordpress.org
Thu Feb 21 19:43:23 UTC 2013


#23542: Twenty Thirteen: Make videos in video post formats 724px wide
---------------------------+--------------------
 Reporter:  obenland       |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  3.6
Component:  Bundled Theme  |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |
---------------------------+--------------------

Comment (by Mamaduka):

 Lance we're already doing it on `template_redirect`, but this only would
 work on single post view, it isn't working on post archives.

 Another option is to filter `wp_embed_defaults` and hard-code width for
 video post formats.

 [attachment:23542.diff] Filters embed defaults, aslo add CSS styling to
 center video embeds, same way as we do with images.

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


More information about the wp-trac mailing list