Hi! There’s no plugin for YouTube as of right now, but we did play with a Vimeo demo already: https://uppy-vimeo.now.sh/. YouTube should be somewhat similar, so it is possible if you write a plugin :)
I don't want to make a habit of shamelessly plugging our commercial offering with every single issue in our github tracker but since you seem to be in a tough spot - you could do this today already by using transloadit. The flow would be uppy->transloadit->youtube.
(Happy to accept YouTube PRs for uppy regardless!)
FWIW I think a YouTube plugin would best be maintained separately (not in this repo)—would totally link to one on the website of course!
This file specifically might serve as inspiration: https://github.com/transloadit/uppy-vimeo-thing/blob/master/Vimeo.js
YouTube plugin would best be maintained separately (not in this repo)
Okay that is fine with me!
@goto-bus-stop Hi, I'm struggling with the Vimeo upload.
Mine app won't involve OAuth(authorization). Every user can easily upload to mine vimeo account using mine public access-token.
So, What I what to achieve is
Hits the Upload button, Videos goes to Vimeo and gets saved there, Vimeo sends me the data.
.use(XHRUpload, { endpoint: "https://api.vimeo.com/me/videos",
formData: true,
bundle: false,
fieldName: 'file',
headers: {
Authorization: bearer ${PUBLIC_ACCESS_TOKEN},
'Content-Type': "application/json"
}
})
I'm not sure whether it's a XHRUpload or ?, Mine app will try to upload video files > 1 GB. And I'm 100 % sure vimeo will throw an Error 413 “Request Entity Too Large” error with uploading a file
Any help is much much appreciated!
Most helpful comment
FWIW I think a YouTube plugin would best be maintained separately (not in this repo)—would totally link to one on the website of course!
This file specifically might serve as inspiration: https://github.com/transloadit/uppy-vimeo-thing/blob/master/Vimeo.js