I would like to allow my web site visitors to upload video to my YouTube channel directly from my WordPress website front end.
I've tried using the PHP API but I couldn't accomplish the task, maybe because I'm still a beginner in the PHP Coding. However I've heard that the task can be done with jQuery in a few steps, I did check the documentations of the YouTube API but couldn't realize how to do it.
This answer on a question shows that I can upload a video to YouTube using jQuery's POST, so does that mean I can use something like:
jQuery.ajax({ type: "POST", url:"http://uploads.gdata.youtube.com/feeds/api/users/<youtube_username>/uploads", data:'URL-TO-VIDEO-FILE', success: ....