Have to set the fallback URL
This commit is contained in:
parent
bdf77a34f4
commit
aa789fa51d
|
@ -414,6 +414,14 @@ public class FeedMedia extends FeedFile implements Playable {
|
|||
if (hasEmbeddedPicture()) {
|
||||
Uri.Builder builder = new Uri.Builder();
|
||||
builder.scheme(SCHEME_MEDIA).encodedPath(getLocalMediaUrl());
|
||||
|
||||
if (item != null && item.getFeed() != null) {
|
||||
final Uri feedImgUri = item.getFeed().getImageUri();
|
||||
if (feedImgUri != null) {
|
||||
builder.appendQueryParameter(PARAM_FALLBACK, feedImgUri.toString());
|
||||
}
|
||||
}
|
||||
|
||||
return builder.build();
|
||||
} else {
|
||||
return item.getImageUri();
|
||||
|
|
Loading…
Reference in New Issue