Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Merge branch 'master' into gek/current-stream-duration
Ginger Wong8d289865027a
diff --cc webroot/js/utils.jsindex 8114819dbb,827137585c..3ecebe06c3--- a/webroot/js/utils.js+++ b/webroot/js/utils.js@@@ -141,17 -145,9 +145,24 @@@ function generateUsername()return `User ${(Math.floor(Math.random() * 42) + 1)}`;}+function secondsToHMMSS(seconds = 0) {+ const finiteSeconds = Number.isFinite(+seconds) ? Math.abs(seconds) : 0;++ const hours = Math.floor(finiteSeconds / 3600);+ const hoursString = hours ? `${hours}:` : '';++ const mins = Math.floor((finiteSeconds / 60) % 60);+ const minString = mins < 10 ? `0${mins}:` : `${mins}:`;++ const secs = Math.floor(finiteSeconds % 60);+ const secsString = secs < 10 ? `0${secs}` : `${secs}`;++ return hoursString + minString + secsString;- }++}+++ function setVHvar() {+ var vh = window.innerHeight * 0.01;+ // Then we set the value in the --vh custom property to the root of the document+ document.documentElement.style.setProperty('--vh', `${vh}px`);+ console.log("== new vh", vh)+ }