this post was submitted on 25 Jun 2025
12 points (100.0% liked)

Peertube

2466 readers
1 users here now

A free software to take back control of your videos

Peertube is an open, federated alternative to Youtube without advertising or tracking. On this site, you can find a good Peertube instance, with good rules, good moderation and most importantly a friendly community.

https://joinpeertube.org/

founded 5 years ago
MODERATORS
 

Today I was thinking about how great it would be if I could post a video to my blog and use the Peertube video player to display the video, and also get the benefit of having visitors share the video among themselves if two people were viewing the video at the same time.

I know that I could do that by running a Peertube instance and then using the embed feature to put the video on a web page. But is there any prior art for just using the client-side Peertube video player by itself? And is that even possible, or does it need a backend server for discovering other video players? I'm looking for documentation right now about how the P2P functionality works, and can't really find anything.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] tuckerm@feddit.online 1 points 3 days ago (1 children)

Well, I'm glad to know that at least there isn't some obvious solution that I'm missing. I might be able to explore this myself a little later -- I've been curious about P2P things lately.

P.S. thanks for making Fireside Fedi!

[โ€“] ozoned@piefed.social 1 points 3 days ago

Thank you for listening! :-)

My group has been attempting to figure this out as well. LogalDeveloper has tried leveraging WebTorrent, but it seems that Peertube has deprecated that and while it can hook it, it never servers anything to anyone. Then he found out they changed to WebRTC and it does more of a direct push.

We do know that folks can set a redundancy in Peertube and then the end user will pull from any of the redundancy sites. Which isn't really ideal, because if you have a bad site, that's obviously outside of your control, it could make a poor experience for the end user. At least this is our theory and appears to be true.

If we're wrong, we'd love to know how and where. But Peertube is REALLY impressive imo as to all it's doing. And it seems like they're really open to help.