OdyseeTeam / odysee-frontend

The code that runs odysee.com
https://odysee.com
MIT License
209 stars 65 forks source link

Show file thumbnail for non-viewable files - fix attempt #3088

Closed keikari closed 4 months ago

keikari commented 4 months ago

(Some what) fixes #503

Images Comic: https://odysee.com/@BrendonBrewer:3/brigham:f ![2024-04-19_18-16](https://github.com/OdyseeTeam/odysee-frontend/assets/34790748/322c43da-6682-4830-b00d-1061c1a2e9fa) Application/...: https://odysee.com/@RemoteBasketballAcademy:3/data-analyst-report(excelsheet):4 ![2024-04-19_18-13_1](https://github.com/OdyseeTeam/odysee-frontend/assets/34790748/773d8e86-f6d6-47c7-8cd6-d544698d6a2d) Model: https://odysee.com/@Decimal_Dot:d/A-Salt-Inator:7 ![2024-04-19_18-13](https://github.com/OdyseeTeam/odysee-frontend/assets/34790748/8b08dd20-4469-47fe-a2bc-bb11819fad97)
keikari commented 4 months ago

Forgot to handle files with no thumbnail https://odysee.com/coronavirus270120:1

2024-04-19_18-30

keikari commented 4 months ago

Note:
Sometimes it shows the "Failed to sync..." error at the bottom when clicking the image to start download. Download still starts fine. Don't know why it happens.

Image of the hover (cursor not visible on screenshot) 2024-04-19_19-54

tzarebczan commented 4 months ago

@toshokanneko wanna take a quick styling pass on this?