Add double-click functionality to ChannelPlayer for fullscreen toggle: enhance user interaction by allowing users to enter fullscreen mode with a double-click on the player.
This commit is contained in:
1 parent
041df061f9
commit
0ac2973f46
1 file changed
+1
@@ -118,6 +118,7 @@ export function ChannelPlayer({
|
||||
muted
|
||||
className="h-full w-full"
|
||||
onClick={togglePlay}
|
||||
onDoubleClick={toggleFullscreen}
|
||||
onPlay={() => setPlaying(true)}
|
||||
onPause={() => setPlaying(false)}
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user