Have you looked at YouTube's API:
http://www.youtube.com/dev
http://code.google.com/apis/youtube/overview.html http://www.youtube.com/dev
http://code.google.com/apis/youtube/overview.html