Upload youtube video to meteor
I am planning to use this node module to upload videos to youtube
https://github.com/google/google-api-nodejs-client/
I am getting value from file input like
var files = $("input.file_bag")[0].files;
How can we only use node modules on the server side, as pointed out here on stackoverflow
how to send data to meteorite server and then from there to youtube api site.
my questions
1) How to send video file(data) to server side?
2) Is it the effiecient way of passing data to `client->server->youtube`, Is there any alternatives for this?
If you know the answer to any question, please send it highly appreciated
Edit
or
Can I submit a youtube post request from a client? https://developers.google.com/youtube/v3/docs/videos/insert
If so, how to pass the accesstoken with this request?
+3
source to share
No one has answered this question yet