mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-26 05:49:22 +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
|
once: true
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 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