[SHOPTIME-3844] Live / 포커싱 시 재생되는 작은 화면 / Scan to Shop QR 코드 읽히지 않음
[수정 내용] Video preview 모드일때 QRCode가 노출되지 않도록 시나리오 변경되어 작은화면일때는 QRCode가 노출되지 않게 수정
This commit is contained in:
@@ -52,6 +52,7 @@ import { SpotlightIds } from "../../utils/SpotlightIds";
|
||||
import ThemeIndicator from "../../views/DetailPanel/components/indicator/ThemeIndicator";
|
||||
import ThemeIndicatorArrow from "../../views/DetailPanel/components/indicator/ThemeIndicatorArrow";
|
||||
import PlayerOverlayContents from "../../views/PlayerPanel/PlayerOverlay/PlayerOverlayContents";
|
||||
import PlayerOverlayQRCode from "../../views/PlayerPanel/PlayerOverlay/PlayerOverlayQRCode";
|
||||
import Loader from "../Loader/Loader";
|
||||
import {
|
||||
MediaControls,
|
||||
@@ -68,7 +69,6 @@ import Overlay from "./Overlay";
|
||||
import TReactPlayer from "./TReactPlayer";
|
||||
import Video from "./Video";
|
||||
import css from "./VideoPlayer.module.less";
|
||||
import PlayerOverlayQRCode from "../../views/PlayerPanel/PlayerOverlay/PlayerOverlayQRCode";
|
||||
|
||||
const isEnter = is("enter");
|
||||
const isLeft = is("left");
|
||||
@@ -2279,7 +2279,8 @@ const VideoPlayerBase = class extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
const isQRCodeVisible = playListInfo && qrCurrentItem && !thumbnailUrl;
|
||||
const isQRCodeVisible =
|
||||
playListInfo && qrCurrentItem && !thumbnailUrl && !panelInfo.modal;
|
||||
|
||||
const onSpotlightFocus = () => {
|
||||
this.showControls();
|
||||
|
||||
Reference in New Issue
Block a user