mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 17:15:48 +00:00
refactor(Player): use poster for media session artwork
This commit is contained in:
parent
122e43dbe5
commit
3eff7f0903
1 changed files with 1 additions and 1 deletions
|
|
@ -553,7 +553,7 @@ const Player = ({ urlParams, queryParams }) => {
|
||||||
const videoInfo = video && video.season && video.episode ? ` (${video.season}x${video.episode})`: null;
|
const videoInfo = video && video.season && video.episode ? ` (${video.season}x${video.episode})`: null;
|
||||||
const videoTitle = video ? `${video.title}${videoInfo}` : null;
|
const videoTitle = video ? `${video.title}${videoInfo}` : null;
|
||||||
const metaTitle = metaItem ? metaItem.name : null;
|
const metaTitle = metaItem ? metaItem.name : null;
|
||||||
const imageUrl = metaItem ? metaItem.poster : null;
|
const imageUrl = metaItem ? metaItem.logo : null;
|
||||||
|
|
||||||
const title = videoTitle ?? metaTitle;
|
const title = videoTitle ?? metaTitle;
|
||||||
const artist = videoTitle ? metaTitle : undefined;
|
const artist = videoTitle ? metaTitle : undefined;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue