One of the advantages of Ooyala is their nice API. They have some example code for you to use, but one feature that was lacking was uploading. They also have a widget that does do uploading but it is handled through Flash, something I wanted to avoid.
This is older, archived content that may not contain a detailed description of the how-to. Please refer to the URL below for the complete how-to.