Iris loads images via proxy to resize and avoid IP leaking. But I don't have the resources to do this with videos.
What are other clients doing? Just embed remote video urls? Click to load?
Iris loads images via proxy to resize and avoid IP leaking. But I don't have the resources to do this with videos.
What are other clients doing? Just embed remote video urls? Click to load?
Let’s test it out from Damus:
Yup, embeds remote url. Most web clients seem to do the same.
If you want to proxy YouTube links without having to be the one providing the proxy, you can convert YouTube links to invidious proxy ones! So for the video I just posted, you’d instead convert it to:
How about link previews, is there some reliable service for rendering them?
These look promising for generating link previews client-side without needing to ping a 3rd party service:
https://github.com/angular-material-extensions/link-preview
https://github.com/AndrejGajdos/link-preview-generator
https://github.com/search?l=JavaScript&q=link+preview&type=Repositories