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
[โ€“] [email protected] 1 points 4 days ago (1 children)

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?

I don't understand the question

[โ€“] [email protected] 1 points 4 days ago

What I mean is: has anyone taken just the frontend Javascript for Peertube's video player and used that by itself, without running a full Peertube server? And if so, can that video player make P2P connections with other people's browsers that are watching the same video?