Disable auto fullscreen of YouTube embeds on iPhone
<p>As we will know from other questions on the site to in iOS Mobile Safari we have these tasty attributes <code>webkit-playesinline</code> and the more concise <code>playsinline</code> to disable auto fullscreen of videos.</p>

<p>Despite that miracle I'm still unable to figure out how to add this to YouTube html5 embeds. As expected the YouTube <code>&lt;video&gt;</code> is contained within an <code>&lt;iframe&gt;</code>.  </p>

<p>the ideal result is something as the following: </p>

<pre><code>&lt;video 
    tabindex="-1" 
    class="video-stream html5-main-video" 
    style="width: 736px; height: 414px; left: 85px; top: 0px;" 
    src="blob:https://www.youtube.com/6889sdad6d2-ec51-49ca-b357-a5bd9c3ede71" 
    webkit-playsinline="true" 
    playsinline="true"&gt;
&lt;/video&gt;
</code></pre>

<p>I have tried, in vain, to do this via jquery.</p>

<p>Any thoughts or ideas how to do this?</p>