web hit counter

mavmed

Our contributors' incidental blog of technology, lifestyle, commerce, and design

-- Friday, August 1, 2008 --

Misbehaving Youtube videos and how to tame them

As if anyone's website features a column width of 425, YouTube videos, which are themselves that width, often appear awkwardly flushed left. Simply bracket the embed code with center tags to get them spaced properly for your website, like so:



You can also expand the video itself to fit your space, which involves plugging in your desired width (say 500px) and determining the closest 4:3 ratio. In the case of the video below, I took YouTube's 425:344 and made it 500:405, then added center/uncenter tags.


Does this mean we will now go back and center all the Youtube videos on this site? No it does not.

See also: Meet the Youtube filmmakers

Labels: , ,

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home

Editor: Marty Barrett
Contributors: Frank Martin, Gram Ponante, Jose Aguilar, Esme Alarcon, Steve Rubinek

 


site contents © 1997-present Mavervorl Media | Add to Google | RSS | Please link responsibly