[wp-trac] [WordPress Trac] #21480: Twenty Twelve: use FitVids to resize videos in small screens

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 6 02:48:41 UTC 2012


#21480: Twenty Twelve: use FitVids to resize videos in small screens
---------------------------+------------------
 Reporter:  andyadams      |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  3.5
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+------------------
Changes (by rfair404):

 * cc: rfair404 (added)


Comment:

 I implemented Fitvids in a plugin before and wound up taking an approach
 similar to the diff. Instead of running fitvids on #main add a post class
 and target that instead.

 This would do a couple of things...
 A) a child theme could easily break this feature by using a div id other
 than main
 B) it is much easier to short circuit (if fo some reason the fitvids
 feature is unwanted) by remove_filter

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


More information about the wp-trac mailing list