fraction / oasis

Free, open-source, peer-to-peer social application that helps you follow friends and discover new ones on Secure Scuttlebutt (SSB).
http://oasis-demo.fraction.io
GNU Affero General Public License v3.0
287 stars 42 forks source link

Render webtorrent video embed links #456

Closed Powersource closed 3 years ago

Powersource commented 4 years ago

What's the problem you want solved?

Right now people can embed videos in posts but the videos can at most be 5MB due to the blob size limit and so most videos can't be posted here.

Is there a solution you'd like to recommend?

If there's a link like I guess

![my ted talk](magnet:asdf...)

then it should be rendered using https://webtorrent.io/

This is basically how https://joinpeertube.org/ works and seems to be working well.

Stuff to consider is to look up how peertube requires the torrents to be structured. What does the video file in the torrent need to be called? How are subtitles handled?

Major blocker for this that I just realized is that this requires clientside js :grimacing:

christianbundy commented 4 years ago

Thanks for posting this issue. The 5 MB size limit is frustrating, and I'd support removing it.

Torrents are neat, but it's a different protocol that Oasis would need to support, plus it'd downgrade our privacy since you could harvest the IP address of everyone who watches your video. This would also need to be added to SSB-Markdown, which handles our quirky Markdown extensions.

Powersource commented 3 years ago

prob for another client!