use thumbnails.odysee.com as thumb cdn #1229

Open
opened 2021-12-29 18:05:04 +01:00 by tzarebczan · 3 comments
tzarebczan commented 2021-12-29 18:05:04 +01:00 (Migrated from github.com)

Also make sure we're using the resizing method- maybe use a size similar to odysee.com mobile (please check code)

Also make sure we're using the resizing method- maybe use a size similar to odysee.com mobile (please check code)
kekkyojin commented 2021-12-29 18:09:00 +01:00 (Migrated from github.com)

This was fixed on Odysee Android but it wasn’t ported to LBRY Android

This was fixed on Odysee Android but it wasn’t ported to LBRY Android
tzarebczan commented 2021-12-29 18:12:56 +01:00 (Migrated from github.com)

I think that one may be using the image-optimizer URL? Can you also confirm we are passing a width/height/quality params? Would be good to sync those up with mobile odysee.com so one set can be cached properly.

I think that one may be using the image-optimizer URL? Can you also confirm we are passing a width/height/quality params? Would be good to sync those up with mobile odysee.com so one set can be cached properly.
kekkyojin commented 2021-12-29 18:34:11 +01:00 (Migrated from github.com)

Yes, @tzarebczan . On Odysee Android, thumbnail.odysee.com/optimize url is being used to get an image file. Width and height are passed to that url, along quality value, which currently is set to 85 over there.

042fc4daff/app/src/main/java/com/odysee/app/model/Claim.java (L555)

Yes, @tzarebczan . On Odysee Android, thumbnail.odysee.com/optimize url is being used to get an image file. Width and height are passed to that url, along quality value, which currently is set to 85 over there. https://github.com/OdyseeTeam/odysee-android/blob/042fc4daff8a60a4430e06c7b83ad6fff7b2bf56/app/src/main/java/com/odysee/app/model/Claim.java#L555
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-android#1229
No description provided.