W3C home > Mailing lists > Public > public-media-annotation@w3.org > December 2009

Re: Asking for feedback on API design from the Web Browser Community

From: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
Date: Wed, 2 Dec 2009 08:38:33 +1100
Message-ID: <2c0e02830912011338l57f0af0fm2b7a4b104d790b72@mail.gmail.com>
To: Joakim Söderberg <joakim.soderberg@ericsson.com>
Cc: Doug Schepers <schepers@w3.org>, public-media-annotation@w3.org
Say, how are you solving the issue of potentially addressing specific tracks.

Most of the time the metadata is associated with tracks, so I wonder
how to address them.
For example: if I want the author of the video track and the composer
of the audio track?

Cheers,
Silvia.

2009/12/2 Joakim Söderberg <joakim.soderberg@ericsson.com>:
> Hello Doug,
>
> As you might remember we had some discussions in Santa Clara about who
> should implement our API and how. We are considering two places where the
> API can be used: in the Web-browser or as Web-service (see picture).
>
>
>
> The current FPWD API (http://www.w3.org/TR/mediaont-api-1.0/ ) defines one
> function for each core-property, but we probably resort to have one function
> for all properties:
> http://lists.w3.org/Archives/Public/public-media-annotation/2009Nov/0072.html
>
>
>
> For example:
>
> md.get("contributor")
>
>
>
> - would return a set of values. Those values would basically be text, but
> would have an optional attribute (call it "role" or
> "subproperty"...) indicating more precisely the kind of contributor
> represented by the text.
>
>
>
> Further, recall that we had a vivid discussion about sub-properties.
> Currently we aim at NOT introducing sub-properties but rather return the
> inherited sub-properties from the original format. Example:
>
>
>
> md.getValues("contributor")
>
> returning
>
>    [ { "value": "John Doe", "subproperty": "id3:composer" },
>
>      { "value": "Jane Doe", "subproperty": "id3:lyricist" };
>
> or see:
> http://lists.w3.org/Archives/Public/public-media-annotation/2009Nov/0081.html
>
>
> We would very much appreciate any feedback from your connections in the Web
> Browser (development) community. Also the naming of this function is
> important, so as not be in conflict with existing APIs, i.e. getMetadata,
> md.getValue etc.
>
>
> Regards
> Joakim Söderberg
Received on Tuesday, 1 December 2009 21:39:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 1 December 2009 21:39:27 GMT