Skip to content

Commit

Permalink
Add double click to fullscreen
Browse files Browse the repository at this point in the history
Fixes #37
  • Loading branch information
jmattheis committed Jul 29, 2023
1 parent 013bb12 commit f3898e7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ui/src/Room.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,12 @@ export const Room = ({
)}

{stream ? (
<video muted ref={setVideoElement} className={videoClasses()} />
<video
muted
ref={setVideoElement}
className={videoClasses()}
onDoubleClick={handleFullscreen}
/>
) : (
<Typography
variant="h4"
Expand Down

0 comments on commit f3898e7

Please sign in to comment.