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

submitting livestreams with embedding disabled is impossible on the frontend #9

Open
mellowagain opened this issue Dec 8, 2022 · 0 comments

Comments

@mellowagain
Copy link
Owner

mellowagain commented Dec 8, 2022

the frontend uses the youtube embed API to (https://www.youtube.com/oembed?url=) display video info like title and uploader before submission to our API server.

if the video has embedding disabled, that endpoint will return 401 unauthorized and because of our error handling, the whole video will be unable to be submitted via the frontend. manually submitting it via the API works fully normally.

we need to handle the following errors returned by youtube's oembed endpoint:

  • 400 bad request
  • 401 unauthorized
  • 404 not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant