Closed haschimoto closed 6 years ago
after a complete reload, the page looks different, now showing the EXTRA file chunks info ROW:
Maybe the first time when there is no piecemap yet, it should STILL SHOW THE ROW under size and say: "Fetching piecemap information..." with the "..." animated and if possible updating that row to "FETCHED" and then replacing it with the chunk information without reloading the whole page.
is this solution good? i've placed it between the chunk info bar and the media player
please ALWAYS show the "file chunks" row. Then you need to check if it even makes sense, like if the file is SUPERSMALL or even OLD so it doesnt have piecemap... then just show the ROW STILL ALWAYS, but if piecmap is loaded show that or if no piecemap needed, show "single file" or something instead.
currently it looks like this, which is wrong:
already has the piecemap(?), but still shows it is loading the piecemap instead of loading first chunk:
1 - try to update the site because the "fetching piecemap information" shouldn't appear in item's with non big files / items with pieces loaded, i've signed + published a couple of times again. 2 - so instead of removing that line it should be replaced with "piecemap ready" or "single file" where there are no chunks? i'm not sure i understood what you meant
First time clicking a Big File like Video shows this:
Even if showing 2 peers, it does not show any chunk information, while it seems not having the piecemap yet.
If one waits long enough (like 1-2 minutes some times), it does start to show the pieces loading bar and the video starts to autoplay:
In the meantime until that happens, I suggest instead of showing the PLAY button on black screen only, display some overlay on that video like "Fetching Video Information, that can take a while" and have something spinning, so it doesnt look lifeless...