I'm new to using the new DW Fluid Grid and I've got a layout with two div's side by side. On the Desktop Grid, I'll have one div take over 7 columns and the other 5. In that div, I want to embed a YouTube video but I'm not sure what the embed settings should be so the video can expand and contract like images do. How do I set that up?
This is what I'm using for my embed code:
<iframe src="http://www.youtube.com/embed/XXXXXXX" height: 100%; width="100%" frameborder="0" allowfullscreen></iframe>
Do I need to add a width and height? Or like images, should I use no heights or widths at all? Idea is to have it fit the entire div.
Check out this article:
Basically... get rid of the height and width attritutes in the iframe, and wrap the video in a new div!
Hope this help,
Great. That was the answer, alright. Thanks for the assistance.