User Script adds (temporal NPT) Media Fragments URI support to Safari, Firefox & Chrome

Dear all,

I have just released a User Script that adds temporal NPT Media
Fragments URI support to Safari, Firefox & Chrome.

User scripts work…

* on Firefox via the Greasemonkey extension [1];
* on Safari via the NinjaKit extension [2];
* on Chrome just natively.

In order to install the User Script, first install the potentially
required User Script extension for your browser, and then navigate to
http://tomayac.com/mediafragments/userscript.html, and just click the
"install the User Script" link at the top. After the install process,
reload the page, and you should see that the videos will respect the
Media Fragments URIs (for stupid codec reasons, the videos require
Chrome).

The User Script reacts on DOMNodeInserted events, which means it
should even work for dynamic Ajax sites that add new video elements
dynamically. You can check the source code of the script at [3]. This
User Script is of course based on top of mediafragments.js :-) For
extra fun, navigate to
http://tomayac.com/mediafragments/dizzy.mp4#t=10,20. You should see
that the video starts at 10s, and pauses at 20s (this works on Safari
and Chrome).

Hope this is useful to some.

Best,
Tom

[1] https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/
[2] http://ss-o.net/safari/extension/NinjaKit.safariextz
[3] https://raw.github.com/tomayac/Media-Fragments-URI/master/.user.js

-- 
Thomas Steiner, Research Scientist, Google Inc.
http://blog.tomayac.com, http://twitter.com/tomayac

Received on Friday, 18 November 2011 11:02:57 UTC