mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-24 18:08:50 +00:00
Can switch to full screen by double clicking on videos
This commit is contained in:
parent
6fa34d8896
commit
2c639df21b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user