mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-09-19 13:58:56 +00:00
Can switch to full screen by double clicking on videos
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user