Skip to content

Commit

Permalink
fix: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
amar-1995 committed Feb 27, 2024
1 parent 3958989 commit 236b56f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { PauseIcon, PlayIcon } from '@100mslive/react-icons';
import { IconButton, Tooltip } from '../../..';
import { useHMSPlayerContext } from './PlayerContext';

export const PlayButton = ({
export const PlayPauseButton = ({
isPaused,
width = 20,
height = 20,
Expand Down
4 changes: 2 additions & 2 deletions packages/roomkit-react/src/Prebuilt/layouts/HLSView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ const HLSView = () => {
r: '$round',
}}
>
<HMSVideoPlayer.PlayButton isPaused={isPaused} width={48} height={48} />
<HMSVideoPlayer.PlayPauseButton isPaused={isPaused} width={48} height={48} />
</Box>
<HMSVideoPlayer.Seeker
title="forward"
Expand Down Expand Up @@ -514,7 +514,7 @@ const HLSView = () => {
>
<BackwardArrowIcon width={20} height={20} />
</HMSVideoPlayer.Seeker>
<HMSVideoPlayer.PlayButton isPaused={isPaused} />
<HMSVideoPlayer.PlayPauseButton isPaused={isPaused} />
<HMSVideoPlayer.Seeker
onClick={e => {
onDoubleClickHandler(e, videoRef.current?.currentTime + 10);
Expand Down

0 comments on commit 236b56f

Please sign in to comment.