How I would like to know how can I manage the routing options especially for this code given that I want the user to upload the video with other form elements.
<?php
$video = new Zend_Gdata_YouTube_VideoEntry();
$video->setVideoTitle('YOUR VIDEO TITLE HERE');
$video->setVideoDescription('YOUR VIDEO DESCRIPTION HERE');
$video->setVideoPrivate();
$video->setVideoCategory('YOUR VIDEO CATEGORY HERE');
$video->SetVideoTags('YOUR VIDEO TAGS HERE');
$handler_url = 'http://gdata.youtube.com/action/GetUploadToken';
$token_array = $yt->getFormUploadToken($video, $handler_url);
$token = $token_array['token'];
$post_url = $token_array['url'];
$next_url = 'YOUR NEXT YOUR URL';
?>