fix: ProductVideoV2에서 최적화된 MediaPlayer.v2 사용으로 변경
- MediaPlayer -> MediaPlayer.v2로 import 변경 - VideoPlayer -> MediaPlayerV2 as VideoPlayer로 변경 - 최적화된 비디오 플레이어 컴포넌트 사용으로 클릭 이벤트 감지 개선 예상 - 불필요한 window 레벨 클릭 감지 로그 제거 MediaPlayer.v2 특징: - 함수 컴포넌트 + React Hooks - 최소한의 상태 관리 (6~9개) - Modal ↔ Fullscreen 전환 지원 - 메모리 효율성 우선 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -4,7 +4,7 @@ import { useDispatch, useSelector } from 'react-redux';
|
||||
import Spottable from '@enact/spotlight/Spottable';
|
||||
import SpotlightContainerDecorator from '@enact/spotlight/SpotlightContainerDecorator';
|
||||
import CustomImage from '../../../../components/CustomImage/CustomImage';
|
||||
import { VideoPlayer } from '../../../../components/VideoPlayer/MediaPlayer';
|
||||
import { MediaPlayerV2 as VideoPlayer } from '../../../../components/VideoPlayer/MediaPlayer.v2';
|
||||
import Media from '../../../../components/VideoPlayer/Media';
|
||||
import TReactPlayer from '../../../../components/VideoPlayer/TReactPlayer';
|
||||
import playImg from '../../../../../assets/images/btn/btn-play-thumb-nor.png';
|
||||
|
||||
Reference in New Issue
Block a user