W3C home > Mailing lists > Public > public-media-fragment@w3.org > January 2011

Re: Build a Media Fragment URI Parser In JavaScript (ACTION-203)

From: Thomas Steiner <tomac@google.com>
Date: Fri, 28 Jan 2011 13:43:27 +0100
Message-ID: <AANLkTi=rhYrBC5YRmQ3pi=qpHCG7zXssEo7SgNuCcbBm@mail.gmail.com>
To: Media Fragment <public-media-fragment@w3.org>
Quick update: added unit tests to the project, and in consequence
fixed a couple of small bugs. Now the behavior of the library should
mirror the spec completely (e.g., hh:mm:ss in NPT gets always
converted to the corresponding ss). The library is designed to ignore
illegal parameters silently, and to report a warning on the console if
a valid parameters has illegal values (e.g., start > end, or xywh
percentages > 100). The warnings can be turned off via a VERBOSE flag.
Thanks all for positive feedback and tweets. Encouraging ;-)

Tom

On Fri, Jan 28, 2011 at 02:56, Silvia Pfeiffer
<silviapfeiffer1@gmail.com> wrote:
> It will be closed at a meeting, so don't worry about it.
>
> I had a quick look at the library and it's really cool how it covers
> all possibilities and dimensions. I will give it a shot with my
> examples at http://www.annodex.net/~silvia/itext/mediafrag.html .
>
> We will need to use the fragment parsing in the <video> element, too,
> which is potentially more important than getting it from the URL - at
> least from a HTML5 video standardization viewpoint.
>
> Great stuff!
>
> Cheers,
> Silvia.
>
> On Thu, Jan 27, 2011 at 8:57 PM, Thomas Steiner <tomac@google.com> wrote:
>> Dear Media Fragmenters,
>>
>> In fulfillment of ACTION-203 I deliver the Media Fragment URI
>> JavaScript library [1]. Usage is hopefully straightforward: you
>> include the library which exposes a
>> MediaFragments.parseMediaFragmentsUri() method which by default takes
>> the URI of the current window as an input for the parser, or a
>> to-be-specified URI. You can see the library in action at [2]. I would
>> like to thank my colleague Malte Ubl (CC'ed) for his feedback and code
>> review. As this is my first ACTION ever, I'm not sure about next steps
>> in order to close the ACTIOn in the action tracker. I guess someone
>> from the WG needs to review the code, so I'm looking forward to your
>> feedback.
>>
>> Best,
>> Tom
>>
>> [1] https://github.com/tomayac/Media-Fragments-URI/
>> [2] http://tomayac.com/mediafragments/mediafragments.html
>>
>> --
>> Thomas Steiner, Research Scientist, Google Inc.
>> http://blog.tomayac.com, http://twitter.com/tomayac
>>
>>
>



-- 
Thomas Steiner, Research Scientist, Google Inc.
http://blog.tomayac.com, http://twitter.com/tomayac
Received on Friday, 28 January 2011 12:44:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 21 September 2011 12:13:42 GMT