HelloZeroNet / HelloZeroNet/ZeroNet

Zeronet Youtube mirror.

Aperta
#1,842 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
18.8k
Fork
2.3k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The basic idea is for it to work as follows:
1. The user tries to access a Youtube video through the zite. This can be done by informing the video url in a form or through a url parameter in the zite.
2. The zite checks it's database to see if this video has been mirrored to IPFS already. If it has, serve the IPFS copy. If it hasn't, download the video from Youtube, play it to the user, save to IPFS and update the database.

I also intended to make a federated platform so each instance administrator could curate it's database. This would prevent spam.

The problem:
How to fetch the video from within the browser? Will I run into a CORS error by just using XHR?
I made some tests with node-ytdl-core and browserify but couldn't manage to use it from within the the zite, only within a normal site. And in the later case I had a CORS error.

Note: Everyone feel free to steal my idea. I don't want to do this but I might because I think it's important.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.