W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2009

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

From: Simon Pieters <simonp@opera.com>
Date: Mon, 18 May 2009 17:42:42 +0200
Message-ID: <op.ut4txggdidj3kv@simon-pieterss-macbook.local>
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
Received on Monday, 18 May 2009 08:42:42 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:12 UTC