title: Using own handler for Jquery Oembed
body: <p>I'm trying to use my own function (never liked <code>$(document).ready()</code>) to dynamically load  an embed from an URL.</p>
  
  <p>I'm trying like this:</p>
  
  <pre><code>function video(donde,url) {
      $("#"+donde).oembed(url);
      return false;
  }
  </code></pre>
  
  <p>And an example of use would be:</p>
  
  <pre><code>&lt;div class="texto"&gt;
    [my title]
    &lt;span style="float: right;"&gt;
        &lt;img onclick="video('video68084','http://www.youtube.com/watch?v=ORZTCQjAuZY');" src="http://i1.ytimg.com/vi/ORZTCQjAuZY/default.jpg" alt="preview" onerror="this.src='images/linket.png';" class="caja_con_sombra" style="width: 80px; height: 60px;"&gt;  &lt;/span&gt;
    &lt;div style="float: left; width: 76%;"&gt;
         [my description]
    &lt;/div&gt;
    &lt;div id="video68084"&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Which jumps:</p>
  
  <pre><code>b.type is not a function
  [Interrumpir en este error] b.ready);var j=false;try{j=E.frameElem...ow(j))return false;if(j.constructor&amp;&amp; 
  </code></pre>
  
  <p>Onclick vía <strong>firebug</strong> :(</p>
  
  <p>Any idea what I'm missing? The error source file is jquery.min.js :S</p>