fix(gallery): video thumbnail and overlay#16708
fix(gallery): video thumbnail and overlay#16708alperozturk96 wants to merge 3 commits intomasterfrom
Conversation
|
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/16708.apk |
| } | ||
|
|
||
| private fun getVideoBitmap(file: OCFile, onThumbnailGeneration: () -> Unit): Bitmap? { | ||
| val key = ThumbnailsCacheManager.PREFIX_THUMBNAIL + file.remoteId |
There was a problem hiding this comment.
PREFIX_RESIZED_IMAGE for aspect aware ratio, if downloaded
| onThumbnailGeneration() | ||
| var bitmap: Bitmap? = null | ||
| if (file.isDown) { | ||
| bitmap = createVideoThumbnail(file.storagePath) |
There was a problem hiding this comment.
create here a aspect ratio aware one
-> in oc file list fragment -> use thumbnail (square) with PREFIX_THUMBNAIL
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
bf835b4 to
249cd65
Compare
|
blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed. |
|
APK file: https://github.com/nextcloud/android/actions/runs/23595097214/artifacts/6123562074 |

🖼️ Screenshots
Uses
PREFIX_THUMBNAILfor videos.