[wp-hackers] Embedded videos are not resizing

Mitch Canter mitch at mitchcanter.com
Mon Apr 25 20:53:40 UTC 2011


A little CSS could help as well:

.post object, .post embed{
max-width: X;
height: auto;
}

Works wonders for me, and that way I can just paste videos and go.

Mitch

> From: aaron at jorb.in
> Date: Mon, 25 Apr 2011 16:51:30 -0400
> To: wp-hackers at lists.automattic.com
> Subject: Re: [wp-hackers] Embedded videos are not resizing
> 
> 1)  check the $content_width global in your theme:
> http://phpxref.ftwr.co.uk/wordpress/nav.html?wp-includes/formatting.php.source.html#l2827
> 
> 2)  As Per http://codex.wordpress.org/Mailing_Lists#Hackers: The *wp-hackers
> * list is meant for people interested in extending WordPress either through
> plugins <http://codex.wordpress.org/Plugins> or improvements to the core
> code. Said another way, "the wp-hackers list is a place for advanced
> development discussion (hacking) and WordPress core discussion. This means
> it's not well suited for general development discussion and support
> questions primarily because a certain level of working knowledge of
> WordPress and PHP is assumed."
> 
> Please ask future questions of this nature in the wordpress.org support
> forums.  This list is not a support forum.
> 
> 
> http://aaron.jorb.in
> twitter: twitter.com/aaronjorbin
> 
> 
> On Mon, Apr 25, 2011 at 4:39 PM, RePost <repost_08 at yahoo.com> wrote:
> 
> > No thanks, Helen. The .org forums are the reason I post my questions here.
> >
> > I'm leaving the question open and hoping for a positive response.
> >
> >
> >
> > On 4/25/11 3:31 PM, Helen Hou-Sandi wrote:
> >
> >> I think you'd be better off asking this in the .org forums:
> >> http://wordpress.org/support/
> >>
> >>
> >> On Mon, Apr 25, 2011 at 4:28 PM, RePost<repost_08 at yahoo.com>  wrote:
> >>
> >>  I've gone into Media settings and set a maximum embed width for videos.
> >>> WordPress is completely ignoring these settings, requiring me to manually
> >>> edit the YouTube embed dimensions.
> >>>
> >>> How can I make WordPress respect the media embed settings?
> >>>
> >>> Thanks.
> >>>
> >>>
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
 		 	   		  


More information about the wp-hackers mailing list