mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-18 20:05:16 +00:00
Can switch to full screen by double clicking on videos
This commit is contained in:
@ -719,6 +719,11 @@ class CallWindow extends CustomEvents {
|
||||
once: true
|
||||
})
|
||||
}
|
||||
|
||||
// Request fullscreen on double click
|
||||
videoEl.addEventListener("dblclick", () => {
|
||||
RequestFullScreen(this.rootEl);
|
||||
})
|
||||
|
||||
|
||||
this.videoEls.set(peerID, videoEl)
|
||||
|
Reference in New Issue
Block a user