I am working on a web application that allows the user to create a "movie" which is implemented as javascript-driven animation. I would like to give the user the ability to post their movie to YouTube.
The user could of course do this by getting some screen-capture software, but I would like to automate the process -- i.e., the user should just be able to authenticate with YouTube, perhaps wait some period of time for the conversion, and then happily have their movie available for all to see on YouTube.
How might I go about converting the javascript animation into a format suitable for uploading to youtube?