Skip to content

Commit

Permalink
player styling
Browse files Browse the repository at this point in the history
  • Loading branch information
MarconLP committed Nov 21, 2024
1 parent cfb5466 commit d7649b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/VideoPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default function VideoPlayer({ video_url, thumbnailUrl }: Props) {

return (
<MediaPlayer
className="ring-media-focus aspect-video w-full overflow-hidden rounded-md bg-slate-900 font-sans text-white data-[focus]:ring-4"
className="ring-media-focus aspect-video w-full overflow-hidden rounded-md bg-black font-sans text-white data-[focus]:ring-4"
title="Sprite Fight"
src={[
{
Expand Down
6 changes: 3 additions & 3 deletions src/pages/share/[videoId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,14 @@ const VideoList: NextPage = () => {
</div>
</div>
<div className="flex h-full w-full grow flex-col items-center justify-start overflow-auto bg-[#fbfbfb]">
<div className="flex aspect-video max-h-[calc(100vh_-_169px)] w-full justify-center bg-black 2xl:max-h-[1160px]">
<div className="flex max-h-[calc(100vh_-_169px)] w-full justify-center bg-black 2xl:max-h-[1160px]">
{video?.video_url && (
<>
<div className="aspect-video h-full">
<VideoPlayer
thumbnailUrl={video.thumbnailUrl}
video_url={video.video_url}
/>
</>
</div>
)}
</div>
<div className="mb-10 mt-4 w-full max-w-[1800px] pl-[24px]">
Expand Down

0 comments on commit d7649b8

Please sign in to comment.