I need to upload videos of my site to Youtube. From Load video to youtube when node save a few modules are introduced that do this.
But I need to do this using an API. I mean I don't want to use the modules interface, I need to have a special interface which is a simple checkbox
in the node page of a video to post the video, once a user checks the checkbox
.
The Youtube API module seems to be the appropriate module to do this, But I really have no idea of how to use this module. Using the APIs I can use a simple .php
file, by calling it via AJAX, then post the video.
How can I do this? Is there any tutorial for Youtube API module?