Skip to content

Commit de91c7a

Browse files
committed
chore: 영상 좌우반전
1 parent 4f0462c commit de91c7a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

frontend/src/components/Monitoring/InfoSection/VideoPlayer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const VideoPlayer = ({ locations }: VideoPlayerProps) => {
6969
};
7070
}, [selectedIndex, locations]);
7171

72-
return <S.VideoPlayer ref={videoRef} muted autoPlay playsInline />;
72+
return <S.VideoPlayer ref={videoRef} muted autoPlay playsInline className='videoPlayer' />;
7373
};
7474

7575
export default VideoPlayer;

frontend/src/styles/GlobalStyle.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,12 @@ export const GlobalStyle = createGlobalStyle`
108108
height: 10px;
109109
cursor: pointer;
110110
}
111+
112+
.videoPlayer {
113+
transform: rotateY(180deg);
114+
-webkit-transform: rotateY(180deg);
115+
-moz-transform: rotateY(180deg);
116+
}
111117
`;
112118

113119
export default GlobalStyle;

0 commit comments

Comments
 (0)