-
Notifications
You must be signed in to change notification settings - Fork 88
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
403 Error for YouTube links #115
Comments
Same issue. All youtube links return 403 and cannot be embedded. Chrome, at least, goes into some kind of redirect loop where it keeps submitting the request repeatedly. Removing the callback parameter from the request "solves" this, in that a non-403 response is returned. However, that doesn't really solve the issue. |
same issue! |
ditto. doesn't look like an issue with the provider template– maybe a youtube deprecation? still works fine for most older videos. |
Some youtube urls are still working. Cached? |
This was a bit of a wig out for me so I quickly pulled together this docker image based on iframely, who kindly release their software as open source. They actually have a Dockerfile in their repo that is pretty much ready to go but theirs is based on node 12 which doesn't work so great with http 2. That and I wanted something a bit more portable that cloned their repo into the actual docker image. https://hub.docker.com/repository/docker/aariacarterweir/docker-iframely Won't be a solution for everyone but works pretty well for me. Only thing I'd say is you reallllly gotta run it with redis or memcached so you dont hit your API limits. If anyone wants more info on how to set this bad boy up just ping me, I'd be happy to share a few pointers. |
Youtube like Vimeo now ask an API key |
Fixed on local install by installing Mozilla::CA and explicitly using HTTPS for YouTube URLs. Here is the full error hiding behind 403 Forbidden: |
Seems like &scheme isn't cutting it anymore.
No API key required– free quota is still just fine with caching :) I'm not super familiar with Perl, so there might be a cleaner way to fix it than changing Happy embedding 👍 |
I know this github project is essentially abandoned, but does anyone know if noembed.com is ever updated? A lot of sites are relying on that service and have broken youtube embeds right now. |
A temporary solution can be this, incorporates the video, the rest depends on your application. I replaced the "https://noembed.com/embed?nowrap=on" with "https://www.youtube.com/oembed?" in the proxy configuration of the trumbowyg api. the others that use noembed I believe it is almost the same situation. Hope this helps. |
@eduardopiasson-br the problem with this is, that i would need JSONP and youtube doesn't support that :/ |
@lpsBetty Even if you pass the format to the end of the link? Example: https://www.youtube.com/oembed?url=https://www.youtube.com/watch?v=IJ5DWUu-MlE&format=json |
@eduardopiasson-br yes if you click the link you see that you do not have a callback function in the code - i would need to define a callback function for CKEDITOR... |
I noticed that for youtube videos which gives 403 error you can use embed url to make it work. Youtube link is like https://www.youtube.com/watch?v=.... and if you click "share" and copy given url https://youtu.be/... then embed works almost fine. Embeded video height is too small |
We where facing the same problem, but It looks like youtube embed codes are working again. The examples on this issue and in our site are working back. |
For example:
https://noembed.com/embed?callback=%3Cesi%3Ainclude%20src%3D%22%2Fesi%2Fjsonp-callback%22%2F%3E&url=https://www.youtube.com/watch?v=G68Q4lCM5pQ
The text was updated successfully, but these errors were encountered: