From 0b5e18db4042665483d0d0e0d9a4a5f7daeea5c9 Mon Sep 17 00:00:00 2001 From: cat Date: Fri, 10 Jun 2016 14:44:23 +0200 Subject: [PATCH] LSP: improved preview player position --- lsp/main.css | 10 ++++++++++ lsp/minified.js | 8 ++++---- lsp/mist.js | 12 +++++++++--- 3 files changed, 23 insertions(+), 7 deletions(-) diff --git a/lsp/main.css b/lsp/main.css index 6bdb3598..5edcbd2a 100644 --- a/lsp/main.css +++ b/lsp/main.css @@ -745,6 +745,16 @@ body:not(.helpme) .input_container .ih_balloon { max-width: 28em; font-size: 0.5em; } +.video_container { + max-width: 90%; + max-width: calc(100vw - 22em); + max-height: 90vh; + max-height: calc(100vh - 15em); + overflow: hidden; +} +video { + min-width: auto; +} @font-face { font-family: FuturaICGLight; diff --git a/lsp/minified.js b/lsp/minified.js index b247273f..b021cf0c 100644 --- a/lsp/minified.js +++ b/lsp/minified.js @@ -104,15 +104,15 @@ C++);0==C&&mist.send(function(){var b=[],c;for(c in mist.data.active_streams){va mist.data.config.protocols[q],"HTTP"==r.connector||"HTTP.exe"==r.connector)l=r.port?":"+r.port:":8080";var E={},r=$("").hide();E["Embed urls"]=r;d.append(r);e=mist.user.host;b=document.createElement("a");b.href=e;e=b.protocol+"//";b=b.hostname;var I=e+b+l+"/",x={autoplay:!0},L=function(a){var b=["div"],d='\n