From b947aa47a452c32c0253a07e3224bea0945b045f Mon Sep 17 00:00:00 2001 From: amar-1995 Date: Fri, 13 Sep 2024 12:55:07 +0530 Subject: [PATCH] fix: variable name --- .../roomkit-react/src/Prebuilt/components/HMSVideo/HMSVideo.jsx | 2 +- packages/roomkit-react/src/Prebuilt/layouts/HLSView.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/roomkit-react/src/Prebuilt/components/HMSVideo/HMSVideo.jsx b/packages/roomkit-react/src/Prebuilt/components/HMSVideo/HMSVideo.jsx index c88d80406b..5ba399c1d4 100644 --- a/packages/roomkit-react/src/Prebuilt/components/HMSVideo/HMSVideo.jsx +++ b/packages/roomkit-react/src/Prebuilt/components/HMSVideo/HMSVideo.jsx @@ -33,7 +33,7 @@ export const HMSVideo = forwardRef(({ children, ...props }, videoRef) => { transition: 'all 0.3s ease-in-out', '@md': { '& video': { - height: props.fullscreen ? '' : '$60 !important', + height: props.isFullScreen ? '' : '$60 !important', }, }, '& video::cue': { diff --git a/packages/roomkit-react/src/Prebuilt/layouts/HLSView.jsx b/packages/roomkit-react/src/Prebuilt/layouts/HLSView.jsx index 339f12ae20..a90071082d 100644 --- a/packages/roomkit-react/src/Prebuilt/layouts/HLSView.jsx +++ b/packages/roomkit-react/src/Prebuilt/layouts/HLSView.jsx @@ -536,7 +536,7 @@ const HLSView = () => { onMouseMove={onHoverHandler} onMouseLeave={onHoverHandler} onClick={onClickHandler} - fullscreen={isFullScreen} + isFullScreen={isFullScreen} onDoubleClick={e => { onDoubleClickHandler(e); }}