修改ImageUtils不能加载视频第一帧的图片
This commit is contained in:
@ -91,7 +91,7 @@ object ImageUtils {
|
||||
val jpegConfig = Config.getSettings()?.image?.oss?.jpeg
|
||||
val webpConfig = Config.getSettings()?.image?.oss?.webp
|
||||
?: Config.getSettings()?.image?.oss?.gif
|
||||
if (jpegConfig != null) {
|
||||
if (imageUrl?.contains("?x-oss-process") == false && jpegConfig != null) {
|
||||
return if (width == 0 || width == null) {
|
||||
"$imageUrl$webpConfig"
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user