autoplay youtube iframe inside featherlight lightbox
<p>Here is my <a href="http://jsfiddle.net/v0a5p9yv/40/" rel="nofollow"><strong>DEMO</strong></a>.</p>

<p>I want to autoplay youtube video once clicked on "Play Youtube Video". Here is my code which isn't working for me.</p>

<pre><code>jQuery('.playButton').click(function(){ 
    jQuery("iframe").each(function() {
        jQuery(this)[0].contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}', '*');
    });

});
</code></pre>

<p>This code works when iframe is outside of lightbox. And I understand that behaviour but I need to autoplay within lightbox.</p>