Skip to content

Commit

Permalink
fix/video controls not visible in full screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Akash1000x authored May 12, 2024
1 parent e953897 commit f40ffc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/videoPlayer/videoControls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ export default function VideoPlayerControls({
{playerPaused ? <PauseIcon className="" /> : <PlayIcon className="" />}
</div>
<div
className={`absolute bottom-0 ${playerPaused ? 'opacity-100' : 'opacity-0'} ${!isFullScreen && 'group-hover/v-container:opacity-100'} w-full z-50 transition-all py-1 before:content-[''] before:absolute before:bottom-0 before:pointer-events-none before:w-full before:aspect-[5/1] before:z-[-1] before:bg-gradient-to-t from-[#000000E6] to-transparent`}
className={`absolute bottom-0 ${!isFullScreen && 'group-hover/v-container:opacity-100'} w-full z-50 transition-all py-1 before:content-[''] before:absolute before:bottom-0 before:pointer-events-none before:w-full before:aspect-[5/1] before:z-[-1] before:bg-gradient-to-t from-[#000000E6] to-transparent`}
>
{/* timeline segments */}
<div
Expand Down

0 comments on commit f40ffc4

Please sign in to comment.