Skip to content

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

@mellowagain

Description

@mellowagain

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions