Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YouTube API authentication to directly upload videos there #161

Open
Masclins opened this issue May 26, 2018 · 2 comments
Open

YouTube API authentication to directly upload videos there #161

Masclins opened this issue May 26, 2018 · 2 comments

Comments

@Masclins
Copy link
Owner

Masclins commented May 26, 2018

Right now the YouTube authentication, done through oauth2, is done on frontend/src/youtube.js.

I'm afraid the way it's being done causes some problems, since it requires (or at least I don't see any other way) to serve the web from localhost (on a different computer) and make it send the token authentication to the server (at signepedia.cat/oauth2callback).

Here's an example on how to do it that might help: https://github.com/youtube/api-samples/blob/master/javascript/upload_video.js

@Masclins Masclins added frontend 1 - Critical Must be work with urgency and most care labels May 26, 2018
@Masclins
Copy link
Owner Author

Apparently this like is more useful: https://www.npmjs.com/package/youtube-api

@Masclins Masclins changed the title Improve YouTube API authentication YouTube API authentication to directly upload videos there Dec 10, 2018
@Masclins
Copy link
Owner Author

Edited the title since this feature was removed on last update.

@Masclins Masclins added 1 - Major and removed 1 - Critical Must be work with urgency and most care labels Dec 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant