ForrestLedbetter.com Rotating Header Image

February 19th, 2009:

sharptube

For the past week, I have been working on creating a content management system, using a template I found on oswd.org. As I was writing the boring stuff, I thought about several more interesting components I could create. The first thing that came to mind was an easy way to display a video from any of the more popular video sharing sites.

So I started this.. a YouTube player wrapper written in ASP.Net (C#). Yeah, I know… there is nothing earth-shattering about sticking some javascript in a usercontrol, but there is a lot more to come. I plan to add support for other popular video sites (hulu, vimeo, etc), as well as rendering options.

All currently available Youtube video parameters have been exposed as properties of the usercontrol. Once properties have been set, call initializeEmbeddedYoutubePlayer(). Grab the code folder for an example.

Whenever I get Amazon’s EC2 figured out, I’ll have it up for demo. Until then, I promise it works! You can download it and run the code yourself.

UPDATE: Link to Sharptube Example

http://code.google.com/p/sharptube/