Google explains at Google I/O 2011 how to upload your video game play clips directly from the game to YouTube using the YouTube upload APIs.

Watch the presentation below.

Video description: Activision’s YouTube API integration in Call of Duty: Black Ops led to over a million user-generated uploads in less than 4 months. We’ll cover the details of that integration and explore best practices for building a YouTube community around your own video game!