[PlayerPanel] videoType VOD backupinitialState

This commit is contained in:
고동영
2024-07-30 14:50:02 +09:00
parent 8c434ccce1
commit 4cf8cc972a

View File

@@ -811,6 +811,7 @@ const PlayerPanel = ({
};
}, [panelInfo?.modal, isOnTop]);
console.log("#selectedIndex", selectedIndex);
useEffect(() => {
if (showNowInfos && panelInfo.shptmBanrTpNm === "LIVE") {
const period =
@@ -861,6 +862,7 @@ const PlayerPanel = ({
if (isDuplicate) {
setPlayListInfo(featuredShowsInfos);
setSelectedIndex(index);
setBackupInitialIndex(index);
return;
}
}