From 8f3a8e4880a40e19dfc215529502472d44b3127d Mon Sep 17 00:00:00 2001 From: Ben Arc Date: Tue, 20 Apr 2021 14:07:27 +0100 Subject: [PATCH] video size bug --- lnbits/extensions/copilot/templates/copilot/compose.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnbits/extensions/copilot/templates/copilot/compose.html b/lnbits/extensions/copilot/templates/copilot/compose.html index ae6d6342..680531a6 100644 --- a/lnbits/extensions/copilot/templates/copilot/compose.html +++ b/lnbits/extensions/copilot/templates/copilot/compose.html @@ -260,11 +260,11 @@ }, 5000) } if (res[1] == 'true') { - document.getElementById('videoElement').style.width = '20%' + document.getElementById('videoCamera').style.width = '20%' self.initScreenShare() } if (res[1] == 'false') { - document.getElementById('videoElement').style.width = '100%' + document.getElementById('videoCamera').style.width = '100%' document.getElementById('videoScreen').src = null } console.log(res[2])