W3C home > Mailing lists > Public > public-html@w3.org > December 2010

Re: Media Capture

From: Toby Inkster <tai@g5n.co.uk>
Date: Wed, 8 Dec 2010 16:13:29 +0000
To: Robin Berjon <robin@berjon.com>
Cc: HTML WG <public-html@w3.org>, Frederick Hirsch <Frederick.Hirsch@nokia.com>, Dominique Hazael-Massieux <dom@w3.org>, Thomas Roessler <tlr@w3.org>
Message-ID: <20101208161329.21b20d98@miranda.g5n.co.uk>
On Wed, 8 Dec 2010 15:56:38 +0100
Robin Berjon <robin@berjon.com> wrote:

> Since then, the DAP WG has been editing a simple draft[1] matching
> the discussion, as planned. There is, however, some hesitation on one
> crucial, if somewhat bikeshed-shaped, point: syntax. 

Opening another pot of paint, have you considered using the role
attribute which is already part of HTML5, also defined as an XHTML
1.1 module, and has a mapping to RDF?

Something like:

	<input type="file"
	  name="motion-mugshot"
	  accept="video/ogg"
	  role="capture-audio capture-video">

DAP would define a set of (case-insensitive) terms that can appear in
the role attribute. Implementations can experiment by using full
(case-sensitive) URIs to identify their oddball capture devices:

	<input type="file"
	  name="motion-mugshot"
	  accept="video/ogg"
	  role="capture-audio http://example.com/smellyvision">

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Wednesday, 8 December 2010 16:13:56 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:21 UTC