[SHOPTIME-3660] Home / Top / VOD 진입 시 화면이 Black으로만 나오는 현상
[수정파일] 1. PlayerPanel.jsx [수정내용] 1. VOD일때 playListInfo에 담는 데이터 조건문 추가
This commit is contained in:
@@ -1004,6 +1004,7 @@ const PlayerPanel = ({
|
||||
if (initialFocusTarget) {
|
||||
Spotlight.focus(initialFocusTarget);
|
||||
setIsInitialFocusOccurred(true);
|
||||
return;
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -1025,6 +1026,7 @@ const PlayerPanel = ({
|
||||
// 화살표버튼 포커스
|
||||
if (!panelInfo.modal && !videoVerticalVisible) {
|
||||
Spotlight.focus(SpotlightIds.PLAYER_TAB_BUTTON);
|
||||
return;
|
||||
}
|
||||
|
||||
//비디오 진입시 포커스
|
||||
@@ -1097,7 +1099,7 @@ const PlayerPanel = ({
|
||||
switch (panelInfo.shptmBanrTpNm) {
|
||||
case "VOD":
|
||||
if (showDetailInfo && showDetailInfo.length > 0) {
|
||||
if (featuredShowsInfos) {
|
||||
if (featuredShowsInfos && featuredShowsInfos.length > 0) {
|
||||
addPanelInfoToPlayList(featuredShowsInfos);
|
||||
} else {
|
||||
setPlayListInfo(showDetailInfo);
|
||||
@@ -1131,6 +1133,7 @@ const PlayerPanel = ({
|
||||
}, [
|
||||
panelInfo,
|
||||
showDetailInfo,
|
||||
featuredShowsInfos,
|
||||
liveChannelInfos,
|
||||
liveShowInfos,
|
||||
showNowInfos,
|
||||
|
||||
Reference in New Issue
Block a user