Re: Media Capture

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