Skip to content

Commit b169432

Browse files
committed
small video player enhancements
1 parent b753915 commit b169432

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/routes/p.$videoId.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,12 @@ function VideoPlayer({ video }: VideoPlayerProps) {
170170

171171
return (
172172
<MediaPlayer
173+
className="xl:h-[calc(100vh-10rem)] lg:h-[calc(100vh-20rem)] relative w-full"
173174
title={video.videoData.title}
174175
// biome-ignore lint/suspicious/noExplicitAny: types are fine
175176
src={video.playbackData.videoSources as any}
176177
poster={video.playbackData.largeThumbnailUrl ?? undefined}
178+
playsInline={false}
177179
>
178180
<MediaProvider />
179181
<PlyrLayout

0 commit comments

Comments
 (0)