You are viewing a single comment's thread from:

RE: D.Tube 0.4: Serious UI Lifting & IPFS Backup & New Domain & More

in #dtube7 years ago (edited)

thank you for the update btw i figured out how to upload files which are too big to upload via the provided interface by using this code trick.

$('input[name="videohash"]').val("video ipfs hash here");

by using it I am able to upload videos which would normally crash my browser. It also allows me to upload videos without having the files on my pc.

I hope a UI update will expose the snaphash and videohash fields so that i can just copy and paste the ipfs hash from my cmdline instead of having to open the chrome devtools everytime.

Also what happened to the ipfs hash that ended in dtube? will the service itself no longer be hosted over ipfs?

Sort:  

IPFS is still the default loading method. Nothing changed. It's just torrent taking relay if IPFS isn't loading the video (most likely for new uploads).

Good job on finding this little trick, that's exactly how I do it for debugging purposes as well! You can do it with 'magnet' as well now too to insert a custom magnet link (but if you dont seed it with the webtorrent app, it wont work)

by webtorrent do you mean something like https://instant.io/ ? And by magnet insertion you mean something like this?

$('input[name="snaphash"]').val("insert magent or ipfs hash here");
$('input[name="videohash"]').val("insert magnet or ipfs hash here");

About adding it in the UI, yes, I agree, but it will be in some 'advanced' part of the upload page. We plan to remake it soon, but we are still unsure how, it will mostly depend on our testing of the new uploading back-end / encoder.

In the end, I want it to stay as simple as possible for your grandma to be able to upload, but I want to give access to these 'expert' features as well, it's just not a big priority atm compared to the rest.

Well imo I think you should reduce the bundling you seem to be doing to the javascript files it makes inputing the hashes/magnet links harder because the devtools window sometimes stops responding. Also it makes the code harder to read and possibly patch myself if i want to test something.

Could you create a video showing this process for all of US? Tag me in it PLEASE so i know when it's up!

Coin Marketplace

STEEM 0.18
TRX 0.15
JST 0.029
BTC 62907.73
ETH 2531.30
USDT 1.00
SBD 2.62