[whatwg] A new attribute for <video> and low-power devices

Simon Pieters simonp at opera.com
Mon May 18 08:42:42 PDT 2009


On Mon, 18 May 2009 16:59:03 +0200, Benjamin M. Schwartz <bmschwar at fas.harvard.edu> wrote:

> Simon Pieters wrote:
>> Is there a problem with always falling back to the poster image and just
>> play the video (full-screen or on-top) when the user indicates he wants
>> to see the video?
>
> If every menu button has a <video> tag associated with it to show a  
> little
> 3D animation, then (a) how do you indicate to the user that it is a video
> without disrupting the page layout?,

You just show the poster image.


> and (b) how do you allow the user to
> request playback without interfering with the function of the button?

If there is a controls attribute or if scripting is disabled, show controls, else use author-provided scripted button (if any) to play the video. If the device has a way to show context menus, then you could start playback from the context menu. You could also have separate view that lists all media on the page, similar to Firefox's Media tab in View Page Info.

-- 
Simon Pieters
Opera Software





More information about the whatwg mailing list