title: jQuery reference <object>
body: <p>I'm having trouble trouble referencing my <code>&lt;object&gt;</code></p>
  
  <p>This is what I have :</p>
  
  <pre><code>&lt;div id="videoHolder1" style="display: none;"&gt;
    &lt;object id="video1" data="http://vimeo.com/..." type="application/x-shockwave-flash"&gt;
      &lt;param name="data" value="http://vimeo.com/..." /&gt;
      &lt;param name="src" value="http://vimeo.com/..." /&gt;
      &lt;param name="wmode" value="opaque" /&gt;
      &lt;param name="allowscriptaccess" value="always" /&gt;
    &lt;/object&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I've tried these :</p>
  
  <pre><code>alert($(".video1 embed").attr('src') );        // undefined 
  alert($("#video1").attr('src') );              // undefined
  alert( $("#video1" ).get(0).attr('src') );     // undefined
  </code></pre>