Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display IFPS embeds #45

Open
anxiousstoner opened this issue Nov 12, 2018 · 2 comments
Open

Display IFPS embeds #45

anxiousstoner opened this issue Nov 12, 2018 · 2 comments

Comments

@anxiousstoner
Copy link
Contributor

Display IFPS videos natively in posts like the youtube vid embeds.

@trees-smoke
Copy link

Yes, this would be great.
If the site can just place the video in the post as playable then it can be up to the user to make sure that their hosting is robust.
Also, for people like myself that both surf smoke.io and run and ipfs nodes, anything I watch will be added to my node in the cache to add to the robustness.

People can just make sure their video is mp4 or otherwise playable in most modern browsers.
Also, it's important that as far as censorship goes, youtube and pals aren't exactly saints, but with ipfs even if someone is hosting a video from a dial-up connection the speed might be shit but the file should get there eventually.
You can't stop the signal, Mal.

@trees-smoke
Copy link

https://github.com/download13/ipfstube/blob/master/public/js/player.js
This is an example player. Does this help?
I'm not sure how the imageproxy works, can it ignore ipfs links? maybe anything with /ipfs/ in it, since hosts can vary?

The good thing about that player is you can put multiple ipfs hosts to try, so can start with 127.0.0.1:8080 to see if the user has a local ipfs, then from there can try cloudflare-ipfs.com and then ipfs.io if the user does not run a local instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants