Skip to content

Commit

Permalink
fix the video size
Browse files Browse the repository at this point in the history
  • Loading branch information
GokuxSS4 committed Feb 27, 2025
1 parent 881f7c9 commit 63981f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/watch/VideoContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ export function VideoContainer({
<VidStackPlayerSkeleton />
</div>
) : serverResources && !isVideoSkeletonVisible ? (
<div className="w-full h-full border border-white/20 rounded-lg">
<div className="w-full h-full flex border border-white/20 rounded-lg">
<VidstackDefaultPlayer
title={title || ""}
videoUrl={serverResources.sources[0].url}
Expand Down
2 changes: 1 addition & 1 deletion components/watch/VidstackDefaultPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export function VidstackDefaultPlayer({
ref={player}
title={title}
autoPlay={autoPlay}
className="player w-full h-full relative z-10"
className="player flex-grow relative z-10"
src={videoUrl}
viewType="video"
crossOrigin
Expand Down

0 comments on commit 63981f6

Please sign in to comment.