diff --git a/lsp/main.css b/lsp/main.css index 95167398..6965c6c8 100644 --- a/lsp/main.css +++ b/lsp/main.css @@ -754,10 +754,13 @@ body:not(.helpme) .input_container .ih_balloon { .video_container { max-width: 90%; max-width: calc(100vw - 22em); - max-height: 90vh; - max-height: calc(100vh - 15em); + height: 90vh; + height: calc(100vh - 15em); overflow: hidden; } +.mistvideo { + height: 100%; +} video { min-width: auto; } diff --git a/lsp/minified.js b/lsp/minified.js index 009ec72f..acd18141 100644 --- a/lsp/minified.js +++ b/lsp/minified.js @@ -106,12 +106,12 @@ a.urlappend!=""&&b.push('data-urlappend="'+a.urlappend.replace(/\"/g,'\\"')+'"') readonly:!0,classes:["embed_code"]},$("

").text("Embed code options").css("margin-top",0),{label:"Autoplay",type:"checkbox",value:!0,pointer:{main:y,index:"autoplay"},"function":function(){y.autoplay=$(this).getval();$(".embed_code").setval(K(y))}},{label:"Force protocol",type:"select",select:[["","Automatic"]],pointer:{main:y,index:"protocol"},classes:["embed_code_forceprotocol"],"function":function(){y.forceprotocol=$(this).getval();$(".embed_code").setval(K(y))}},{label:"Video URL addition", type:"str",pointer:{main:y,index:"urlappend"},help:"The embed script will append this string to the video url, useful for sending through params.",classes:["embed_code_forceprotocol"],"function":function(){y.urlappend=$(this).getval();$(".embed_code").setval(K(y))}},$("

").text("Protocol stream urls"),X]));l=$("").append($("

").text("Meta information")).hide();D["Meta information"]=l;var O=$("");l.append(O);d.append(l);l=$("").hide();D.Preview=l;d.append(l);var L=$("
").css({"float":"left", "margin-right":"1em",width:"100%"}),t=$("
").addClass("video_container").attr("data-forcesupportcheck","");L.html(t);var Y=$("
").css("float","left");l.append(L).append(Y);mist.stored.get().autoplay||t.attr("data-noautoplay","");var M=function(){t.text("Loading..");L.children(".input_container").remove();var a=document.createElement("script");a.src=H+"embed_"+c+".js";a.onerror=function(){t.html('Error loading "'+a.src+'".
').append($("