fTube: the YouTube player

Mar. 5th, 2006 | 04:57 am

[screenshot: fTube, the YouTube player]

I wrote this app live during my session at BarCamp Delhi.

It's a YouTube player that downloads (using YouTube's REST API) the list of 25 most recent videos featured on the YouTube front page. The user can select a video from the list and hit the play button to play it in-Flash.

I built the app entirely in Vim (no IDE). To save time (and show off CSS), I had put the visual stuff into a CSS file, which I then applied later on once the app was functioning.

The demo went really well, although I was able to complete only about 60% of it in the allotted time. I wasn't able to show the Ajax integration, for example - something I thought the crowd was interested in. But never mind - it's available online now for everyone to see (right-click and say View Source!).

fTube: the YouTube player (requires Flash Player 9)

Stuff to look out for... )

#