<br><br><div class="gmail_quote">On Wed, Sep 22, 2010 at 9:09 AM, Shiv Kumar <span dir="ltr"><<a href="mailto:skumar@exposureroom.com">skumar@exposureroom.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">









<div lang="EN-US" link="blue" vlink="purple">

<div>

<p class="MsoNormal">I’ve changed the subject of this post in the hopes
that it receives the correct attention…</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">As per the current spec:</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><quote></p>

<p class="MsoNormal">WARNING!</p>

<p class="MsoNormal">User agents should not provide a public API to cause videos
to be shown full-screen. A script, combined with a carefully crafted video
file, could trick the user into thinking a system-modal dialog had been shown,
and prompt the user for a password. There is also the danger of
"mere" annoyance, with pages launching full-screen videos when links
are clicked or pages navigated. Instead, user-agent-specific interface features
may be provided to easily allow the user to obtain a full-screen playback mode.</p>

<p class="MsoNormal"></quote></p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">In order for anyone to be able to provide their own
skin/player, we’ll need to provide a scriptable way to switch the video
element to full screen and out including events to support the same.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">I know Webkit folks have provided,
webkitEnterFullScreen/webkitExitFullScreen methods to allow this. I don’t
believe there are any events supporting the change in state, however</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">I think it’s important that the video element provide
a scriptable way to do this. Internally, the UA can determine if the call was
made using a user gesture as I believe Webkit is doing.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Can we agree to change the current spec to allow for this?</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Shiv</p>

<p class="MsoNormal"><a href="http://exposureroom.com/" target="_blank">http://exposureroom.com</a></p>

<p class="MsoNormal"> </p>

</div>

</div>


</blockquote></div><br><div>Is this proposal not good enough?</div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><a href="https://wiki.mozilla.org/index.php?title=Gecko:FullScreenAPI" target="_blank" style="color: rgb(51, 102, 51); ">https://wiki.mozilla.org/index.php?title=Gecko:FullScreenAPI</a></span></div>
<div><br></div><div>It handles the case I think you want. I also it's also useful for other things like HTML5 games. It's also secure or at least as secure as flash. The browser will not go fullscreen without either a prompt or a mouse click.</div>
<div><br></div><div><br></div>