title: insertBefore() an iframe jquery problems
body: <p>I have to handle content from a WISIWYG where the user could potentially imbed a youtube video.</p>
  
  <p>I need to search the container that the WISIWYG is outputted to for any iframe, and then wrap that iframe in a <code>&lt;div class="video-wrapper"&gt;</code> tag. Heres what I've tried:</p>
  
  <pre><code>        $('div.content').each(function () {
              var iframe = $(this).find('iframe');
  
              $('&lt;div class="video-wrapper"&gt;').insertBefore(iframe);
              $('&lt;/div&gt;').insertAfter(iframe);
  
          });
  </code></pre>
  
  <p>This doesnt work and will end up just adding the <code>div</code> (including closing tag) right before the iframe. </p>
  
  <p>Ideas?</p>