[지라이슈없음] videoThumbnailUrl 라이브채널에서 이전 썸네일이 뜨던 현상 개선

This commit is contained in:
고동영
2024-11-12 16:07:43 +09:00
parent a0a02144ba
commit 41f8ead731

View File

@@ -1555,12 +1555,10 @@ const PlayerPanel = ({
if (panelInfo.shptmBanrTpNm === "MEDIA") {
res = panelInfo?.thumbnailUrl;
} else {
res = playListInfo?.[selectedIndex]?.thumbnailUrl;
if (!res) {
res = showDetailInfo?.[0]?.thumbnailUrl;
}
} else if (playListInfo && playListInfo.length > 0) {
res = playListInfo[selectedIndex]?.thumbnailUrl;
} else if (!res) {
res = showDetailInfo[0]?.thumbnailUrl;
}
return res;