mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 20:19:21 +00:00
Can switch to full screen by double clicking on videos
This commit is contained in:
parent
6fa34d8896
commit
2c639df21b
@ -720,6 +720,11 @@ class CallWindow extends CustomEvents {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Request fullscreen on double click
|
||||||
|
videoEl.addEventListener("dblclick", () => {
|
||||||
|
RequestFullScreen(this.rootEl);
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
this.videoEls.set(peerID, videoEl)
|
this.videoEls.set(peerID, videoEl)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user