- From: Robin Berjon <robin@berjon.com>
- Date: Wed, 8 Dec 2010 17:36:07 +0100
- To: public-device-apis@w3.org
Any thoughts on this? Begin forwarded message: > Resent-From: public-html@w3.org > From: Toby Inkster <tai@g5n.co.uk> > Date: December 8, 2010 17:13:29 GMT+01:00 > 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> > Subject: Re: Media Capture > archived-at: <http://www.w3.org/mid/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> > > -- Robin Berjon - http://berjon.com/
Received on Wednesday, 8 December 2010 16:36:37 UTC