fix: VideoPlayer에 onClick prop 추가로 클릭 이벤트 처리
- VideoPlayer 컴포넌트에 onClick={handleVideoPlayerClick} 추가
- MediaPlayer가 modal 모드일 때 onClick을 처리하는 기능 활용
- 비디오 재생 중 클릭으로 전체화면 토글 동작
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -463,6 +463,7 @@ export default function ProductVideoV2({
|
||||
disabled={false}
|
||||
onEnded={handleVideoEnded}
|
||||
onBackButton={handleBackButton}
|
||||
onClick={handleVideoPlayerClick}
|
||||
noAutoPlay={false}
|
||||
noAutoShowMediaControls={!isFullscreen}
|
||||
autoCloseTimeout={5000}
|
||||
|
||||
Reference in New Issue
Block a user