YouTube has released a new set of APIs that basically allow you to access most of its functionality on any site. You can now upload videos and even customize the player UI. Very cool.