Christian Heilmann

You are currently browsing the archives for the annotations category.

Archive for the ‘annotations’ Category

Yay for Jacob Seidelin to join me in accessihacking YouTube

Friday, June 6th, 2008

Jacob Seidelin took his JavaScript kung-foo skills off Super Mario for a short while and wrote a proof of concept how to get the annotations out of a YouTube video to display it outside the movie.

I’ve blogged about this idea here and his solution is an example to use timeout to poll for annotations being displayed.

One little change with a massive impact would be to display the annotations in a form field – thus automatically updating screen reader buffers that there was a change.

This has the same issues as my idea to display timed comments as subtitles below the movie – polling is just not safe (imagine buffering in between), so it seems a simple method in the YouTube player to fire events at certain times would be great. Something like this:

var events = {

function onTimedEvent(o){
// o would be {time:12312,obj:{something:3}};

The object would be a nice to have, for example to keep scope.

Check out Jacob’s annotation scraping example here