title: Embedding Youtube video using iframe gives "Unsafe JavaScript attempt ... "
body: <p>I'm trying to embed a YouTube video with this code:</p>
  <pre><code>&lt;iframe width=&quot;425&quot; height=&quot;319&quot; frameborder=&quot;0&quot; wmode=&quot;Opaque&quot;allowfullscreen=&quot;&quot;
        src=&quot;http://www.youtube.com/embed/8vJwFvFi4ZY?wmode=transparent&quot;&gt;
  &lt;/iframe&gt;
  </code></pre>
  <p>and although it is working fine, but it gives this error in the console:</p>
  <blockquote>
  <p>Chrome version 22.0.1229.94:</p>
  <blockquote>
  <p>Unsafe JavaScript attempt to access frame with URL <a href="http://example.com/" rel="noreferrer">http://example.com/</a><br />
  from frame with URL <a href="http://www.youtube.com/embed/8vJwFvFi4ZY?wmode=transparent" rel="noreferrer">http://www.youtube.com/embed/8vJwFvFi4ZY?wmode=transparent</a>.<br />
  Domains, protocols and ports must match.</p>
  </blockquote>
  <p>Firefox version 17.0:</p>
  <blockquote>
  <p>Error: Permission denied to access property 'toString'</p>
  </blockquote>
  </blockquote>
  <p>I searched around but I found that it is probably a YouTube issue and they should solve it,</p>
  <p><strong>The question is</strong>: how can I get rid of this error? (by any means, even by suppressing it.)</p>