Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
FIX: Set volume only if it exists in localstorage
Edgardo Ramíreza8cda4454946
diff --git a/webroot/js/components/player.js b/webroot/js/components/player.jsindex 4d651d7e29..8e6191131f 100644--- a/webroot/js/components/player.js+++ b/webroot/js/components/player.js@@ -80,7 +80,9 @@ class OwncastPlayer {startPlayer() {this.log('Start playing');const source = { ...VIDEO_SRC };- this.vjsPlayer.volume(localStorage.getItem('owncastVolume'));++ if (localStorage.getItem('owncastVolume') !== null)+ this.vjsPlayer.volume(localStorage.getItem('owncastVolume'));this.vjsPlayer.src(source);// this.vjsPlayer.play();}