On 3/21/07, Simon Pieters <[EMAIL PROTECTED]> wrote:

On Wed, 21 Mar 2007 20:11:57 +0100, Mihai Sucan <[EMAIL PROTECTED]>
wrote:

> Shouldn't the video API include a way to toggle full screen on/off?

Browsers are allowed to provide full screen, however there's no API for
it. Entering fullscreen should only be under the control of the user,
otherwise the author could hijack the user's screen and no way to get out
of it (e.g. as soon as the user tries to exit fullscreen, the script goes
back to fullscreen).


Only quick look at youtube, video.google.com, stream.cz (czech youtube),
flash video player <http://www.jeroenwijering.com/?item=Flash_Video_Player>
and others gives me the impression that "fullscreen video switch" is now
everywhere.

In the spec I read: "User agents may allow users to view the video content
in manners more suitable to the user (e.g. full-screen or in an independent
resizable window). As for the other user interface features, controls to
enable this should not interfere with the page's normal rendering."

I feel conflict here:

a) UA provide some Fullscreen item in popup menu (from the discussion seems
for me that there shouldn't be any UA-GUI in page than popup menu)
b) web author give some Fullscreen button inside his video controls (to
look it like youtube etc.)

If for b) author doesn't have API and make it owns way, there will be two
independent fullscreens for every video. 1st way the browser allows
fullscreen and 2nd way the page author make fullscreen.

Fullscreen here does not necessary mean switching browser to fullscreen
mode, look e.g. like youtube has it.

--
Martin Hassman
http://www.met.cz/

Reply via email to