Posted by oregon-website on November 30, 2012 at 10:22pm
For some reason the height of this embedded youtube video is messed up, any ideas why?
http://mchenryhomeremodeling.com/d7/
or, here is a page with only the youtube embed code (iframe):
http://mchenryhomeremodeling.com/d7/youtube-embed-test
Core and all modules and theme up to date:
Drupal core 7.17
Colorbox 7.x-1.4
Module Filter 7.x-1.7
Pathauto 7.x-1.4
Webform 7.x-3.18
Corporate Clean 7.x-2.0
None of the other sites on my standalone server do this.
Many thanks in advance!
Mike
Comments
=-=
embed, object, iframe {width: 100%;
height: auto;
}
It's occurring because of the height: auto; in the above css
You should consider using a field for the youtube videos. There are multiple that can aid with placing youtube content in drupal. http://drupal.org/project/youtube for example.