I simplified it a bit. Imgur and Reddit block embeds with CORS or something so you do need a deal.
For YouTube, you need to get a special embed URL, like https://youtube.com/embed/videoIDhere (or with the domain youtube-nocookie.com if you’re cool). That’s easy to generate but if your site includes embedded YouTube videos it also means visitors agree to their ToS, and Lemmy devs don’t want that. Believing in net neutrality, they would need to enable ALL iframe embeds from ALL websites, which could easily get messy with tracking and whatnot.
Do you need a deal with those instances to be able to have an iFrame to embed the video?
Like from the small web dev stuff I’ve done while learning programming I was easily able to embed my video in my webpage (from youtube)?
I simplified it a bit. Imgur and Reddit block embeds with CORS or something so you do need a deal.
For YouTube, you need to get a special embed URL, like
https://youtube.com/embed/videoIDhere
(or with the domainyoutube-nocookie.com
if you’re cool). That’s easy to generate but if your site includes embedded YouTube videos it also means visitors agree to their ToS, and Lemmy devs don’t want that. Believing in net neutrality, they would need to enable ALL iframe embeds from ALL websites, which could easily get messy with tracking and whatnot.