Youtube embedded video keeps hiding my JavaScript popup dialogs
<p>I tried playing with z-index, and also tried setting the wmode to "opaque". Nonthing worked..</p>

<p>It keeps hiding my popup dialogs..</p>

<p>Here is the current iframe code</p>

<pre><code>&lt;iframe title="YouTube video player" class="youtube-player" type="text/html" width="450" height="297" src="http://www.youtube.com/embed/glqpoDfuAwk" frameborder="0" &gt;&lt;/iframe&gt;
</code></pre>

<p><strong>EDIT</strong>: As pointed out below, using "embed" and opaque wmode solves the problem. But I cannot find any solution for YouTube's new style of embedding using iframe</p>
