Skip to content

Commit

Permalink
🚸(frontend) disable few native html video option
Browse files Browse the repository at this point in the history
Disable Picture-In-Picture option for browsers that support it,
to avoid having the option appearing on the video element.

It's not appropriate.
Actually, I am not sure we should disable remote playback ones,
feel free to challenge it.
  • Loading branch information
lebaudantoine committed Jan 31, 2025
1 parent bbc2b1d commit 6935001
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/frontend/src/features/rooms/components/Join.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,8 @@ export const Join = ({
opacity: 0,
transition: 'opacity 0.3s ease-in-out',
})}
disablePictureInPicture
disableRemotePlayback
/>
) : (
<div
Expand Down

0 comments on commit 6935001

Please sign in to comment.