Hello carlbrecht,
Thank you for posting in the forum!
This isn't possible to be done within the Windows Phone 7. You'll have to sync the video file to the Zune software and then after locating the file in your computer you will have to click the upload link at the top of any YouTube page.
Please let us know if you have any more questions!
Best regards