2 Replies Latest reply on Aug 6, 2012 9:56 PM by ladobeugm

    Embed YouTube into Fluid Grid Layout

    ladobeugm Level 1

      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.