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

401 Unauthorized on some YouTube videos when setting zero on maxheight parameter #98

Open
frumbert opened this issue Apr 11, 2018 · 1 comment

Comments

@frumbert
Copy link

401 unauthorized:

https://noembed.com/embed?url=https://www.youtube.com/watch?v=0zic3GIcccc&maxwidth=0&maxheight=0&nowrap=on

Working:

https://noembed.com/embed?url=https://www.youtube.com/watch?v=0zic3GIcccc&maxwidth=854&maxheight=480&nowrap=on

oddly enough, also working

https://noembed.com/embed?url=https://www.youtube.com/watch?v=WR_hCMR2Xvc&maxwidth=0&maxheight=0&nowrap=on

Seems from my testing that setting maxwidth=0, maxheight=0 on videos marked as unlisted can cause 401 unauthorized to appear. If a value > 0 is used on the same url, the problem doesn't manifest, nor does it manifest of listed videos (in my testing).

@ferrolive
Copy link

I had the same problem and I noticed it was the option "allow embedding" not checked. This should solve the problem.

davidmz added a commit to davidmz/freefeed-react-client that referenced this issue Feb 8, 2019
noembed.com cannot show some YouTube videos without this parameter: leedo/noembed#98
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

2 participants