[PlayerPanel] media backbutton error
This commit is contained in:
@@ -447,7 +447,11 @@ const PlayerPanel = ({
|
||||
(ev, isEnd) => {
|
||||
//modal로부터 Full 전환된 경우 다시 preview 모드로 돌아감.
|
||||
|
||||
if (sideContentsVisible && !videoVerticalVisible) {
|
||||
if (
|
||||
sideContentsVisible &&
|
||||
!videoVerticalVisible &&
|
||||
panelInfo.shptmBanrTpNm !== "MEDIA"
|
||||
) {
|
||||
setSideContentsVisible(false);
|
||||
// ev?.stopPropagation();
|
||||
// ev?.preventDefault();
|
||||
@@ -455,6 +459,7 @@ const PlayerPanel = ({
|
||||
}
|
||||
if (panelInfo.modalContainerId && !panelInfo.modal) {
|
||||
if (panelInfo.shptmBanrTpNm === "MEDIA" && isEnd) {
|
||||
console.log("###########################", panelInfo.modal);
|
||||
dispatch(
|
||||
updatePanel({
|
||||
name: panel_names.DETAIL_PANEL,
|
||||
@@ -651,9 +656,10 @@ const PlayerPanel = ({
|
||||
|
||||
useEffect(() => {
|
||||
if (!panelInfo.modal && !videoVerticalVisible) {
|
||||
console.log("##tab focus");
|
||||
Spotlight.focus("player-tab-arrow");
|
||||
}
|
||||
}, [panelInfo, sideContentsVisible, videoVerticalVisible]);
|
||||
}, [!panelInfo.modal, sideContentsVisible, videoVerticalVisible]);
|
||||
|
||||
useEffect(() => {
|
||||
if (panelInfo.modal && selectedIndex !== 0) {
|
||||
@@ -757,6 +763,9 @@ const PlayerPanel = ({
|
||||
);
|
||||
break;
|
||||
}
|
||||
case "loadeddata": {
|
||||
console.log("#loadeddata....");
|
||||
}
|
||||
}
|
||||
}, []);
|
||||
const liveTotalTime = useMemo(() => {
|
||||
|
||||
Reference in New Issue
Block a user