diff --git a/comms.html b/comms.html index 23acd1026..660ef30ca 100644 --- a/comms.html +++ b/comms.html @@ -1098,6 +1098,11 @@ videoMode = true; } + var chat = true; + if (urlParams.has('hidechat')){ + chat = false; + } + if (screen.height && screen.width && (screen.height*screen.width<400000)){ mobile = true; } @@ -1834,7 +1839,12 @@ if (!mobile){ document.getElementById("chatModule").classList.remove("hidden"); - } + if (!chat){ + toggleChat(); + } + } + + iframe.onload = function(){ iframe.contentWindow.postMessage({ groups: savedSession.activeGroups , groupView: savedSession.activeViewGroups }, "*"); diff --git a/css/icons.css b/css/icons.css index 58dca410b..8a18c971f 100644 --- a/css/icons.css +++ b/css/icons.css @@ -248,4 +248,6 @@ .la-random:before { content: "\f074"; } .la-moon:before { - content: "\f186"; } \ No newline at end of file + content: "\f186"; } +.la-mobile:before { + content: "\f10b"; } \ No newline at end of file diff --git a/css/main.css b/css/main.css index 258cf9c0b..4f043052f 100644 --- a/css/main.css +++ b/css/main.css @@ -2793,6 +2793,7 @@ img { border-radius: var(--video-rounded); border-width: var(--video-border); border-color: var(--video-border-color); + background-color: var(--video-holder-color); border-style: solid; } diff --git a/css/variables.css b/css/variables.css index d0447a259..afe9f6029 100644 --- a/css/variables.css +++ b/css/variables.css @@ -90,6 +90,7 @@ --video-rounded: 0px; --video-border: 0px; --video-border-color: #0000; + --video-holder-color: #0000; --video-rounded: 0px; --button-radius: 2px; --myvideo-max-width: min(800px,100vw); diff --git a/examples/chat.html b/examples/chat.html deleted file mode 100644 index 3a5080b0c..000000000 --- a/examples/chat.html +++ /dev/null @@ -1,159 +0,0 @@ - -
- - -