[whatwg] Scriptable interface for video element FullScreen mode

Shiv Kumar skumar at exposureroom.com
Wed Sep 22 09:09:02 PDT 2010


I've changed the subject of this post in the hopes that it receives the
correct attention.

 

As per the current spec:

 

<quote>

WARNING!

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.

</quote>

 

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.

 

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

 

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.

 

Can we agree to change the current spec to allow for this?

 

Shiv

http://exposureroom.com <http://exposureroom.com/> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100922/6e734d1e/attachment-0002.htm>


More information about the whatwg mailing list