Closed IkelAtomig closed 6 months ago
I would like this issue to be reopened. I think the URL should be made like Invidious like @ManeraKai suggested.
This request is made because it escapes Libredirect's redirect function and also users might find this frustating both Libredirect and Piped cuz going to YT instead of Piped isn't liked by many.
@Bnyro - What's your opinion and take on this ?
Any updates ?
@Bnyro Why did you close your PR? Is this infeasible? Redlib and Nitter (RIP) could both do this.
No idea to be honest, it's already been almost 2 years ago 🤷
Mind taking a fresh look then? ðŸ¤
This should already be working properly looking at https://github.com/TeamPiped/Piped/blob/master/src/utils/HtmlUtils.js. Any example video where it doesn't? @opusforlife2
Wow, this task was surprisingly difficult. Stumbled upon this somehow: https://piped.video/watch?v=jmEC8rkE0Sk
Awesome. Thanks!
We had a problem in LibRedirect where if you right click and
open link
on a text youtube link, it will bypass it the same way it'll do when pressing theWatch on YouTube
button as theorigin
is from a piped instance. A fix for that would be to do it like invidious. They remove the domain name from youtube urls and make it as such: