> But you can simulate
Yeah yeah, I tried that stuff with the hardware I possessed at that moment and read others experiences. This is frustrating. I don't know that many details; I might be wrong still, but it appears you still can achieve some unusual behaviors.
@bitvid I see your website welcomes with the:
> Give it a sec—videos might take 10 to 60 seconds to load initially.
Most likely you're aware of why exactly and all this, so just FYI. Some people will still complain inevitably, because some videos will never load (not just when there are no peers available).
Thanks for building though!
#webtorrent
Login to reply
Replies (2)
The web just sucks man.
ZeroNet made it look easy back in the day, but then it runs as a daemon on your machine handling the p2p stuff in the background, but worked with any browser.
Brave has native support for IPFS but IPFS is slow as balls.
Only other option I can think of right now is:
- do server side rendering of the home page (client updates the dom afterwards)
- since the server rendered that page before it should be able to fech the first 30 seconds of each video and cache that
- do some HLS wizardry to switch the streams
Actually… I guess I am reinventing the library you mentioned.
Maybe we should just reinvent zeronet with nostr and nsites and whatever more, that way one daemon can serve as a local relay for caching/redistributing the nsites you visit and handle the p2p shit.
Yep, fair call, and thanks for flagging it. bitvid is a fully static client with no backend, so if the host a video points to goes down (or the torrent has no seeds), there's honestly nothing we can do to bring it back. We do probe sources (HEAD check on the URL, peer check on the magnet) and hide or flag the obviously dead ones, but it misses some, especially hosts that just hang. That banner is clearly past its prime too. If you hit any specific videos that never load, send me the links, they're really useful for tuning the probe. 🙏