# Embed works in firefox not in IE

**URL:** <https://forum.kirupa.com/t/embed-works-in-firefox-not-in-ie/306002>\
**Category:** Uncategorized\
**Created:** [March 7, 2010, 10:58pm UTC](https://forum.kirupa.com/t/embed-works-in-firefox-not-in-ie/306002 "2010-03-07T22:58:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chopficaro](https://avatars.discourse-cdn.com/v4/letter/c/5f9b8f/32.png) [@chopficaro](https://forum.kirupa.com/u/chopficaro)\
**Post date:** [March 7, 2010, 10:58pm UTC](https://forum.kirupa.com/t/embed-works-in-firefox-not-in-ie/306002/1 "2010-03-07T22:58:42Z")

</div>

in IE this just pretends its loading forever  
also, i got the width and the height to adjust to the window size and its working great (in firefox anyways)  
but thats not what im really after, i want the height to be 100% but i want the width to adjust based on either the height of the window or the height of the object. anyone know a trick for that? i cant seem to find a way to do it in SWFobject

```auto
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  <head>
    <title>SWFObject - step 1</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <style type="text/css" media="screen">
    html, body, #containerA { width:100%; height:100%; }
    body { margin:0; padding:0; overflow:hidden;}
    </style>
  </head>
  <body>
    <div id="containerA">
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%">
        <param name="movie" value="myContent.swf" />
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="yankeeScreenMenu.swf" width="100%" height="100%">
    <param name="quality" value="autohigh" />
    <param name="menu" value="false" /> 
        <!--<![endif]-->
          <p>Alternative content</p>
        <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
      </object>
    </div>
  </body>
</html>

```
