[251116] feat: PlayerPanel FullScreen

🕐 커밋 시간: 2025. 11. 16. 21:32:12

📊 변경 통계:
  • 총 파일: 5개
  • 추가: +81줄
  • 삭제: -20줄

📝 수정된 파일:
  ~ com.twin.app.shoptime/src/actions/playActions.js
  ~ com.twin.app.shoptime/src/hooks/useVideoPlay/useVideoPlay.js
  ~ com.twin.app.shoptime/src/middleware/panelHistoryMiddleware.js
  ~ com.twin.app.shoptime/src/views/HomePanel/HomePanel.jsx
  ~ com.twin.app.shoptime/src/views/MainView/MainView.jsx

🔧 함수 변경 내용:
  📄 com.twin.app.shoptime/src/actions/playActions.js (javascript):
    🔄 Modified: resumeFullscreenVideo()

🔧 주요 변경 내용:
  • 핵심 비즈니스 로직 개선
This commit is contained in:
2025-11-16 21:32:12 +09:00
parent da1a050a10
commit a18c61380c
5 changed files with 197 additions and 57 deletions

View File

@@ -3,7 +3,7 @@
import { useCallback, useRef, useState, useEffect, useMemo } from 'react';
import { useDispatch, useSelector } from 'react-redux';
import {
startBannerVideo,
startVideoPlayerNew,
stopBannerVideo,
stopAndHideVideo,
hidePlayerVideo,
@@ -143,7 +143,14 @@ export const useVideoPlay = (options = {}) => {
videoState.setCurrentPlaying(bannerId);
// Redux 액션 dispatch - bannerId를 modalContainerId로 사용
dispatch(startBannerVideo(bannerId, { modalContainerId: bannerId, force }));
dispatch(
startVideoPlayerNew({
bannerId,
modal: true,
modalContainerId: bannerId,
force,
})
);
// 성공 상태 업데이트
setErrorCount(0); // 성공 시 오류 카운트 초기화