youtube_api
// Build an XML string with the correct video meta-data$xml_string = youtube_api_create_xml('xml_tester', $xml);// Use the YouTube API module to perform the video upload$result = youtube_api_video_upload($xml_string, $node->files['upload_0']->filepath, $node->files['upload_0']->filename);