Skip to content

Commit

Permalink
fix video height
Browse files Browse the repository at this point in the history
  • Loading branch information
GokuxSS4 committed Feb 27, 2025
1 parent 63981f6 commit b5ede66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/watch/VideoContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ export function VideoContainer({
/>
</div>
) : (
<div className="w-full h-full animate-pulse bg-gray-700 rounded-lg border border-white/20">
<div className="w-full h-full flex animate-pulse bg-gray-700 rounded-lg border border-white/20">
<VidStackPlayerSkeleton />
</div>
)}
Expand Down
4 changes: 2 additions & 2 deletions components/watch/VidstackDefaultPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type IntroOutroType = {
export function VidStackPlayerSkeleton() {
return (
<MediaPlayer
className="w-full h-full player relative z-10"
className="w-full h-full flex-grow player relative z-10"
viewType="video"
aspectRatio="16/9"
>
Expand Down Expand Up @@ -165,7 +165,7 @@ export function VidstackDefaultPlayer({
ref={player}
title={title}
autoPlay={autoPlay}
className="player flex-grow relative z-10"
className="player flex-grow w-full h-full relative z-10"
src={videoUrl}
viewType="video"
crossOrigin
Expand Down

0 comments on commit b5ede66

Please sign in to comment.