GeopJr / Tuba

Browse the Fediverse
https://tuba.geopjr.dev/
GNU General Public License v3.0
528 stars 57 forks source link

[Request]: Media thumbnail overlay papercuts #94

Closed bertob closed 1 year ago

bertob commented 1 year ago

Describe the request

Currently media thumbnails have overlays showing the media types, and a second overlay for the alt text. This is very heavy visually and clutters up the previews too much IMO.

image

image

image

For comparison, Elk doesn't have the image/video label and the ALT label is smaller and has less padding. I'd suggest doing something similar for images, and for videos I'd either have an overlay play button in the center, or maybe have an actual mini-player in the timeline, like Elk does.

image

image

Implementation Details

GeopJr commented 1 year ago

How does this look so far?

I haven't changed the "ALT" font size, just the padding:

image

I'm not sure what's the best way to handle a mini-player - while Mastodon allows 1 video per post, Pleroma (& others) don't have a limit. Maybe only show one if there's 1 video attachment? Probably for another issue though

Btw, elk seems to have a cover fit for attachments which we can also do if I move forward with #52

contain: image

cover: image

bertob commented 1 year ago

How does this look so far?

I'd maybe add an .osd circle behind the play icon, instead of darkening the whole video, but looks good otherwise.

Btw, elk seems to have a cover fit for attachments which we can also do if I move forward with https://github.com/GeopJr/Tooth/pull/52

Yeah, that'd be nice :+1: