Comments (19)
This app only controls the pictures. So if you remove ipfs.io and only use snap.d.tube for pictures, it should work. If you want videos to load through another gateway for the videos, you will need to edit the player: https://github.com/dtube/embed
Changing to another gateway will probably not be a good solution as it would end up with this new gateway being banned in your country in the future. The only real change that can happen, is implementing js-ipfs into our player for direct loading (without gateway).
from dtube.
modify the gateway
from dtube.
@wg1929 I think you can do a search in the source code for ipfs.io
then replace that with an alternative gateway. Here is a list of alternative gateways.
Info from related issues on IPFS repo:
from dtube.
Run your own ipfs daemon: https://ipfs.io/docs/getting-started/
from dtube.
You did not think seriously about this answer. I certainly have no problem with myself. But what about others? I can't ask everyone to install this
from dtube.
Use Tor/a VPN.
from dtube.
@wg1929 why don't you make a live fork of dtube with a different gateway.
Why should the rest of the internet change because your country is an oppressive ************ censoring the internet?
from dtube.
@kirkins how to revise the gateway
from dtube.
Might need other changes not sure never ran this locally. Hopefully the info can help you in getting started.
from dtube.
@skzap I modified the player,But how do you install it?...
from dtube.
in client/views/commons/videos/player.js
, just change emb.d.tube for your own modified player !
Our player is hosted with github pages, so you can do the same with your modified player and it will give you a nice url even with https.
from dtube.
@skzap Can the player be called directly by uploading it to the server?
from dtube.
@skzap Or modify this https://github.com/dtube/production
from dtube.
Yes the player is a static application too. You can host it on github pages directly and it will give you https://wg1929.github.io/embed link that you can use.
from dtube.
@skzap Ok, thank you very much
from dtube.
@skzap Can I modify the player directly here? If so, how to modify https://github.com/dtube/production
from dtube.
@bostrot Does integrating IPFS daemon in a browser will make every person who use this browser to surf freely in any ipfs website without the influence of any existing ban(for example: china ban) ?
from dtube.
@arni077 Well you don't integrate an IPFS daemon in a browser. You normally create a server with it and then, yes, everyone who has access to this server can access the gateway.
I am not sure if everything would work as expected but you can of course try it.
If you are on mobile you can use the app I made which is available on Google Play and the App Store: https://github.com/bostrot/DTubeViewer where the ipfs gateway can be customized.
from dtube.
Gateway switcher was added to the embed payer, pull request here, video demo here.
from dtube.
Related Issues (20)
- I have an error uploading video to my new account
- Signup page not loading HOT 2
- Username login page says it requires 2 numbers, but it requires 3 to continue. HOT 2
- Dead links on signup pages
- Can't upload HOT 1
- Cant login - username does not exist
- Error: User name does not exist HOT 3
- Cannot sign up new account
- Can't sign up HOT 2
- Dtube cannot load IPFS video [SOLVED] HOT 2
- Sanctions from YouTube, instagram and tiktok HOT 1
- feature request: ability to change tag
- teamhumble adding tag of spammer, blurring out video thumbnail, & now D-tube is not allowing me to upload videos HOT 3
- Upload failed HOT 2
- username and private posting key do not match HOT 1
- Sign up page does not display error message HOT 1
- Can't Create an New Account
- Unknown error on editing video
- Videos on Custom IPFS Gateway Do Not Play HOT 2
- hackers and scammers have invaded the project. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dtube.