feel great.

Video February 22nd, 2007

Really old Internet video. It’s still awesome though.

Tags:

I’ve been working diligently on that plugin. I found that it was way easier to not develop my own XML parser, and just use one that was working. Once I got that going, it was a matter of figuring out how to handle options and databases within Wordpress. I figured all that stuff out too, and I managed to come up with something I’m pretty proud of. Right now, it handles all the YouTube videos I link to on the site. It’s doing that random video generator on the bar. It also does the gallery. I’ll release it as soon as I do some cleaning up and make some documentation. Man, those programming classes are finally paying off!

I also wanted it to handle Google video as well, but they haven’t implemented an API yet. So, I had to do some slight hacking and managed this:

If it’s working like it’s supposed to, you should be seeing a thumbnail of the video that you can click and view the Google Video. The thing about this is, I can’t look up video data based on its unique ID. I had to work around that and do a search on the video title and format and parse it to and from XML. Basically, this is done by appending ‘&output=rss’ to the search results URL. So, ta dah! Google Video is now supported here… well, just barely.

Tags: