title: How to set autoplay youtube video for IE on the fly?
body: <p>I need to autoplay youtube video as I click on its thumbnail.
  Since IE doesn't support <code>&lt;EMBED&gt;</code> tag I need preset all needed values in <code>&lt;OBJECT&gt;</code> and then create a new object with my parameters.
  So I did something like this:</p>
  
  <pre><code>var $newObject = jQuery('&lt;object&gt;&lt;param name="play" value="true"/&gt;' + $oldObject.html() + '&lt;/object&gt;'); // preparing virtual object on the fly.
  $thisObject.html($newObject.html()); //Creating new object
  </code></pre>
  
  <p>That had no effect. So I tried to insert new  to all existing OBJECTs like this:</p>
  
  <pre><code>jQuery('&lt;param name="play" value="true" &gt;').prependTo("object"); 
  </code></pre>
  
  <p>For that I got error in IE that says "Invalid argument" (interesting that in FF and Chrome that aproach worked). 
  So I really out of ideas now.
  Thanx for help</p>
  
  <p>Sam</p>