commit c244bd2302c2d269208561647f0b8142f7ad7e3c parent ab63a8955ccd12b7dec7f95979015da6f40ef4b9 Author: ugrnm <ultrageranium@bleu255.com> Date: Sun Jul 5 01:38:15 +0200 stylingDiffstat:
muc/xpubplayer.js | | | 3 | ++- |
diff --git a/muc/xpubplayer.js b/muc/xpubplayer.js @@ -6,8 +6,9 @@ var chat_title = document.getElementsByClassName("chat-area col")[0]; var element = document.createElement("div"); element.setAttribute("id", "videoplayer"); + element.setAttribute("style", "height: 50%;"); - element.innerHTML = '<video controls autoplay><source src="https://echo.lurk.org:999/test.webm" type="video/webm"></video>'; + element.innerHTML = '<video controls autoplay style="width: 100%;height: 100%;background-color: #000000;"><source src="https://echo.lurk.org:999/test.webm" type="video/webm"></video>'; chat_title.insertBefore(element, chat_title.firstChild);