mirror of
https://github.com/eliasstepanik/vdo.ninja.git
synced 2026-01-11 05:38:31 +00:00
&structure, &blur, button press
This commit is contained in:
parent
cc48729d8a
commit
257d2c8468
@ -56,7 +56,7 @@
|
||||
<meta property="twitter:image" content="./media/vdoNinja_logo_full.png" />
|
||||
<meta name="msapplication-TileColor" content="#da532c" />
|
||||
<meta name="theme-color" content="#ffffff" />
|
||||
<link rel="stylesheet" href="./main.css?ver=305" />
|
||||
<link rel="stylesheet" href="./main.css?ver=308" />
|
||||
<script type="text/javascript" crossorigin="anonymous" src="./thirdparty/adapter.js"></script>
|
||||
<style id="lightbox-animations" type="text/css"></style>
|
||||
<!-- <link rel="manifest" href="manifest.json" /> -->
|
||||
@ -83,7 +83,7 @@
|
||||
|
||||
<script type="text/javascript" crossorigin="anonymous" src="./thirdparty/CodecsHandler.js?ver=47"></script>
|
||||
<script type="text/javascript" crossorigin="anonymous" src="./thirdparty/aes.js"></script>
|
||||
<script type="text/javascript" crossorigin="anonymous" src="./webrtc.js?ver=618"></script>
|
||||
<script type="text/javascript" crossorigin="anonymous" src="./webrtc.js?ver=619"></script>
|
||||
<input id="zoomSlider" type="range" style="display: none;" />
|
||||
<span id="electronDragZone" style="pointer-events: none; z-index:-10; position:absolute;top:0;left:0;width:100%;height:2%;-webkit-app-region: drag;min-height:20px;"></span>
|
||||
<div id="header">
|
||||
@ -2475,11 +2475,11 @@
|
||||
// session.hidehome = true; // If used, 'hide home' will make the landing page inaccessible, along with hiding a few go-home elements.
|
||||
// session.record = false; // uncomment to block users from being able to record via vdo.ninja's built in recording function
|
||||
</script>
|
||||
<script type="text/javascript" crossorigin="anonymous" id="lib-js" src="./lib.js?ver=749"></script>
|
||||
<script type="text/javascript" crossorigin="anonymous" id="lib-js" src="./lib.js?ver=764"></script>
|
||||
<!--
|
||||
// If you wish to change branding, blank offers a good clean start.
|
||||
<script type="text/javascript" id="main-js" src="./main.js" data-translation="blank"></script>
|
||||
-->
|
||||
<script type="text/javascript" crossorigin="anonymous" id="main-js" src="./main.js?ver=603"></script>
|
||||
<script type="text/javascript" crossorigin="anonymous" id="main-js" src="./main.js?ver=606"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
12
main.css
12
main.css
@ -27,11 +27,11 @@
|
||||
--a-dark-focus: rgb(142 219 98);
|
||||
--a-dark-active: rgb(145 197 115);
|
||||
|
||||
--a-link: rgb(88 171 41);
|
||||
--a-visited: rgb(88 171 41);
|
||||
--a-hover: rgb(142 219 98);
|
||||
--a-focus: rgb(142 219 98);
|
||||
--a-active: rgb(88 171 41);
|
||||
--a-link: #70ade6;
|
||||
--a-visited: #70ade6;
|
||||
--a-hover: #49A7FF;
|
||||
--a-focus: #49A7FF;
|
||||
--a-active: #3D9DF7;
|
||||
|
||||
/* Box colors */
|
||||
--director-box: rgb(165 119 18);
|
||||
@ -2836,7 +2836,6 @@ img {
|
||||
border-radius: var(--video-rounded);
|
||||
border-width: var(--video-border);
|
||||
border-color: var(--video-border-color);
|
||||
background-color: var(--video-border-color);
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
@ -2888,6 +2887,7 @@ video {
|
||||
-ms-user-select: none; /* IE10+ */
|
||||
-webkit-tap-highlight-color:transparent;
|
||||
outline-style:none;
|
||||
border-style:solid;
|
||||
background-size: var(--video-background-image-size);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
|
||||
19
main.js
19
main.js
@ -791,6 +791,8 @@ async function main(){ // main asyncronous thread; mostly initializes the user s
|
||||
}
|
||||
if (urlParams.has('controlbarspace')){
|
||||
session.dedicatedControlBarSpace = true;
|
||||
} else if (urlParams.has('nocontrolbarspace')){
|
||||
session.dedicatedControlBarSpace = false;
|
||||
}
|
||||
|
||||
if (urlParams.has('hidesolo') || urlParams.has('hs')){
|
||||
@ -939,7 +941,12 @@ async function main(){ // main asyncronous thread; mostly initializes the user s
|
||||
} else if (urlParams.has('43')) {
|
||||
session.aspectRatio = 3; //1:1 ?
|
||||
}
|
||||
|
||||
|
||||
if (urlParams.has('structure')) {
|
||||
session.structure = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (urlParams.has('aspectratio') || urlParams.has('ar')) { // capture aspect ratio
|
||||
session.forceAspectRatio = urlParams.get('aspectratio') || urlParams.get('ar') || false;
|
||||
@ -2185,7 +2192,9 @@ async function main(){ // main asyncronous thread; mostly initializes the user s
|
||||
} catch(e){errorlog("variable css failed");}
|
||||
}
|
||||
|
||||
|
||||
if (urlParams.has('color')) {
|
||||
session.colorVideosBackground = urlParams.get('color') || session.borderColor || "#000";
|
||||
}
|
||||
|
||||
if (urlParams.has('retry')) {
|
||||
session.forceRetry = parseInt(urlParams.get('retry')) || 30;
|
||||
@ -2828,6 +2837,12 @@ async function main(){ // main asyncronous thread; mostly initializes the user s
|
||||
}
|
||||
}
|
||||
|
||||
if (urlParams.has('blur')){
|
||||
session.blurBackground = urlParams.get('blur') || 10;
|
||||
session.blurBackground = parseInt(session.blurBackground) || 10;
|
||||
if (session.blurBackground<0){session.blurBackground=false;}
|
||||
session.structure=true;
|
||||
}
|
||||
|
||||
if (urlParams.has('limittotalbitrate') || urlParams.has('ltb')){
|
||||
session.limitTotalBitrate = urlParams.get('limittotalbitrate') || urlParams.get('ltb') || 2500;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user