I added an IPFS gateway switcher on DTube embed player!

in dtube •  5 years ago 


The much needed feature by the DTube community is here. I have successfully added a gateway switcher on the embed player so that it is possible to load a video from another IPFS gateway if video.dtube.top gateway is having issues.

Huge thanks to @justineh for inviting me to chat about the centralization issues surrounding Steem based "decentralized" video platforms.

Pull request: https://github.com/dtube/embed/pull/30
Mentioning @heimindanger to review this.

Vote for my Steem witness: https://beta.steemconnect.com/sign/account-witness-vote?witness=techcoderx&approve=1

Shop on Amazon using our affiliate link: http://amzn.to/2bgofns
Follow me on Twitter: http://www.twitter.com/techcoderx


▶️ DTube
▶️ IPFS
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

nice

Does that mean users would be able to use their own local IPFS node?

Users can already run their own nodes to host their videos. However, right now no matter who is hosting the videos, they load from a single IPFS gateway, which is video.dtube.top. That means if that gateway has issues, no videos will play even if the video is pinned on thousands of nodes.

This adds a gateway switcher that allows the player to load from other gateways, which not only reduces server load on video.dtube.top gateway, it is possible for videos to play even if that gateway is down.

Users can setup their own gateway and have their videos load from there by defining the domain name of the gateway in json.ipfs.gateway within the json_metadata.

There was a time when it was possible to switch the gateway on a global basis via a submenu in the right-hand global menu list. That feature was removed long time ago. I began being non-confident in CTube since then.

Exceptionally upvoting this video in order to compensate the effort from this user put into making CTube decentralized. I keep my veto on upvoting CTube posts, no matter where they are hosted, however.

haha :D

Congratulations @techcoderx! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You got more than 700 replies. Your next target is to reach 800 replies.

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Hate to pause your video, but I can't focus with your... UGH I'M SUCH A JERK!!!!!