Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Fix missing poster in the player. Closes #29
Gabe Kangas331b73b31ff7
diff --git a/webroot/index.html b/webroot/index.htmlindex c80dd491cb..df5b8e840d 100644--- a/webroot/index.html+++ b/webroot/index.html@@ -75,7 +75,7 @@ GW TODO:autoplayplaysinlinemuted- poster="https://goth.land/thumbnail.jpg"+ poster="/thumbnail.jpg"></video></div>diff --git a/webroot/js/player/player.js b/webroot/js/player/player.jsindex 6fbb5a7816..43cf528c1d 100644--- a/webroot/js/player/player.js+++ b/webroot/js/player/player.js@@ -6,7 +6,6 @@ window.VIDEOJS_NO_DYNAMIC_STYLE = true;// Create the player for the first timeconst player = videojs('video', null, function () {- player.poster('/thumbnail.jpg');getStatus();setInterval(getStatus, 5000);setupPlayerEventHandlers();@@ -16,6 +15,7 @@ player.ready(function () {console.log('Player ready.')player.reset();player.src({ type: 'application/x-mpegURL', src: streamURL });+ player.poster('/thumbnail.jpg');});function setupPlayerEventHandlers() {