Skip to content

Commit

Permalink
refactor(Player): remove unecessary element
Browse files Browse the repository at this point in the history
  • Loading branch information
tymmesyde committed Jan 4, 2024
1 parent 7242608 commit cdff875
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/routes/Player/Player.js
Original file line number Diff line number Diff line change
Expand Up @@ -602,22 +602,18 @@ const Player = ({ urlParams, queryParams }) => {
onMouseMove={onContainerMouseMove}
onMouseOver={onContainerMouseMove}
onMouseLeave={onContainerMouseLeave}>
<div
<Video
ref={video.containerElement}
className={styles['layer']}
onClick={onVideoClick}
onDoubleClick={onVideoDoubleClick}
/>
{
video.state.buffering ?
<BufferingLoader className={styles['layer']} logo={player?.metaItem?.content?.logo} />
:
null
}
<Video
ref={video.containerElement}
className={styles['layer']}
onClick={onVideoClick}
onDoubleClick={onVideoDoubleClick}
/>
{
error !== null ?
<Error
Expand Down

0 comments on commit cdff875

Please sign in to comment.