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

provide clearer error message when oembed is disabled #29

Open
DanielDent opened this issue Jun 1, 2020 · 0 comments
Open

provide clearer error message when oembed is disabled #29

DanielDent opened this issue Jun 1, 2020 · 0 comments
Assignees
Milestone

Comments

@DanielDent
Copy link

When a YouTube video has embedding disabled, the oembed endpoint returns a value to indicate that the request is unauthorized. It would be helpful if that did not result in the same {:error, "oEmbed not found"} return value that occurs for invalid URLs as well -- being able to tell the end-user "this is a valid video URL but it has embedding disabled" would be preferable.

@r8 r8 self-assigned this Jun 1, 2020
@r8 r8 added the enhancement label Jun 1, 2020
@r8 r8 added this to the 1.0.0 milestone Jun 8, 2020
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

2 participants