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

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 UTC