Skip to content

Commit

Permalink
πŸ› Show correct aspect ratio when in full screen #1865
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandolucchesi committed Sep 14, 2023
1 parent 48a35aa commit 5cebe1e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions web/pageComponents/shared/VideoPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ const ButtonWrapper = styled.div`
const StyledHLSPlayer = styled(HLSPlayer)`
object-fit: cover;
width: inherit;
:fullscreen {
object-fit: contain;
}
`

const getThumbnailRatio = (aspectRatio: string, height?: number) => {
Expand Down

0 comments on commit 5cebe1e

Please sign in to comment.