damus
damus copied to clipboard
Large size media file does not load, or causes Damus crash
what happens 50MB image does not load, or causes Damus to crash
SerSleepy: NoteID
Https://damus.io/note1fs24w4rktgwktxptu9pnpds6f92h9cygsxt3hmwtx8vwdkzgdm5q9d3m2h
note1vfsyna2svseu88rnykxnd50ml26hwrp4wpju8vu7p39yqh5dpq0s4ct376
Consistent with other clients, can these images be progressively downloaded or display a loader animation?
Amethyst, Snort, Nostur all display it.
https://snort.social/e/note1vfsyna2svseu88rnykxnd50ml26hwrp4wpju8vu7p39yqh5dpq0s4ct376
Consistent with other clients, can these images be progressively downloaded or display a loader animation?
Amethyst, Snort, Nostur all display it.
https://snort.social/e/note1vfsyna2svseu88rnykxnd50ml26hwrp4wpju8vu7p39yqh5dpq0s4ct376
@robagreda WDYT 👀
Consistent with other clients, can these images be progressively downloaded or display a loader animation? Amethyst, Snort, Nostur all display it. https://snort.social/e/note1vfsyna2svseu88rnykxnd50ml26hwrp4wpju8vu7p39yqh5dpq0s4ct376
@robagreda WDYT 👀
Specifically I am interested in the user interface of letting a client know media is loading, or is not supported (e.g. due to max file size).
@jb55 mentions Damus does not have CDN, while clients like Snort do currently.
Related: low data & cellular mode #919
Perhaps add a warning if an oversized image isn't loading and allow the user to tap to download it. Would that work?
Perhaps add a warning if an oversized image isn't loading and allow the user to tap to download it. Would that work?
There's a couple things going on.
- Currently Damus has a limitation on file size. How might we communicate this @robagreda user is attempting loading a file size larger than the limit?
- Loading large file - should, and how might we communicate this @robagreda ? Could this UI extend to all media, not just "large" media?
Notes
https://damus.io/note1fs24w4rktgwktxptu9pnpds6f92h9cygsxt3hmwtx8vwdkzgdm5q9d3m2h
note1vfsyna2svseu88rnykxnd50ml26hwrp4wpju8vu7p39yqh5dpq0s4ct376
Do not render media. Did not experience crash.
we don't load > 20MB for sanity ... ideally we would detect content size and force a proxy for larger images