Skip to content

Commit

Permalink
fix(FEC-12929): Add an image preview on "next-screen" in image item o…
Browse files Browse the repository at this point in the history
…n playlist (#202)

solves: FEC-12929
  • Loading branch information
JonathanTGold authored Feb 8, 2023
1 parent 1bd653b commit c6b1c99
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/k-provider/ovp/provider-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ class OVPProviderParser {
}

static _fillBaseData(mediaEntry: MediaEntry, entry: KalturaMediaEntry, metadataList: ?KalturaMetadataListResponse) {
mediaEntry.poster = entry.poster;
mediaEntry.id = entry.id;
mediaEntry.duration = entry.duration;
mediaEntry.metadata = OVPProviderParser._parseMetadata(metadataList);
Expand All @@ -162,9 +163,6 @@ class OVPProviderParser {
mediaEntry.dvrStatus = entry.dvrStatus;
}

if (mediaEntry.type !== MediaEntry.Type.IMAGE) {
mediaEntry.poster = entry.poster;
}
return mediaEntry;
}

Expand Down

0 comments on commit c6b1c99

Please sign in to comment.