Can switch to full screen by double clicking on videos

This commit is contained in:
Pierre HUBERT 2020-04-14 18:27:30 +02:00
parent 6fa34d8896
commit 2c639df21b

View File

@ -720,6 +720,11 @@ class CallWindow extends CustomEvents {
})
}
// Request fullscreen on double click
videoEl.addEventListener("dblclick", () => {
RequestFullScreen(this.rootEl);
})
this.videoEls.set(peerID, videoEl)