player styling
This commit is contained in:
parent
cfb5466494
commit
d7649b8fee
2 changed files with 4 additions and 4 deletions
|
|
@ -52,7 +52,7 @@ export default function VideoPlayer({ video_url, thumbnailUrl }: Props) {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<MediaPlayer
|
<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"
|
title="Sprite Fight"
|
||||||
src={[
|
src={[
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -131,14 +131,14 @@ const VideoList: NextPage = () => {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex h-full w-full grow flex-col items-center justify-start overflow-auto bg-[#fbfbfb]">
|
<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 && (
|
{video?.video_url && (
|
||||||
<>
|
<div className="aspect-video h-full">
|
||||||
<VideoPlayer
|
<VideoPlayer
|
||||||
thumbnailUrl={video.thumbnailUrl}
|
thumbnailUrl={video.thumbnailUrl}
|
||||||
video_url={video.video_url}
|
video_url={video.video_url}
|
||||||
/>
|
/>
|
||||||
</>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div className="mb-10 mt-4 w-full max-w-[1800px] pl-[24px]">
|
<div className="mb-10 mt-4 w-full max-w-[1800px] pl-[24px]">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue