this post was submitted on 20 Dec 2024
58 points (96.8% liked)
Fediverse
28707 readers
262 users here now
A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).
If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!
Rules
- Posts must be on topic.
- Be respectful of others.
- Cite the sources used for graphs and other statistics.
- Follow the general Lemmy.world rules.
Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
As Admiral Pat mentions, embeds are easy enough. I don't know how Tesseract does it, but a low-tech solution is to just replace 'watch' in the URL with 'embed' and stick it in a iframe. From Lemmy's GitHub, it looks like there's been work on this, but I'm not familiar enough with it to know whether it's for future versions that haven't been released yet.
New videos used to come in to Lemmy as expected. There's been some regression that stopped it. It's possible to bring them in manually though (by searching for the URL), and - like with embeds - it's possible that it's been fixed but not yet released.
PT's videos channels are ActivityPub Group types like Lemmy's communities, but it doesn't handle federation the same way. It does it in a way that's more compatible with Mastodon. Lemmy's communities Announce everything they receive (posts, comments, votes, etc) and so if you receive that Announce, then as long as you trust the community, you can trust that the contents haven't been changed and process it. PT's video channels only Announce new posts (so on Mastodon, it appears as if the channel has Boosted content by the channel owner), but for everything else, it's a combination of sending out a 'post update' (which is essentially an invitation to query the outboxes it provides for votes and comments), and just flinging out the comment as is, without the HTTP signature. If you get that comment, then you can either use the LD signature that Mastodon includes to verify, or you can look at the ID, and fetch it from it's source. As such, Lemmy's federation model is mostly Push-based, whereas PeerTube's is a bit of Push, and a lot more Pull.