Download NetBeans!

20071201 Saturday December 01, 2007

YouTube Swing Browser

I took the principles outlined here and now I have a Swing browser for YouTube. It opens the browser when I click "Go there", displaying whatever is selected in the list. Entries appear in the list when I type something in one of the Search fields and then press Enter. Here's how it looks:

It's already more useful than YouTube itself. There's just way too much stuff going on on that site. Just give me the movies and let me watch them, that's all I ask. Don't overload me with a zillion odds and ends. I wish the API was able to access the actual Flash movie that is played, but that doesn't seem possible. You can get the whole YouTube page, as shown above, but not the movie itself. Or maybe I overlooked it in the Javadoc. But that would be cool to extract, because then I would be able to play it in my Swing app, assuming I bundled a Flash API with it. Pity most of the ones that are up to date are not free, though.

Dec 01 2007, 01:32:11 AM PST Permalink