Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Explicitly set poster in js

Gabe Kangas6a71275efd6d
diff --git a/webroot/js/player/player.js b/webroot/js/player/player.js
index fc769c4d1f..b38eb97259 100644
--- a/webroot/js/player/player.js
+++ b/webroot/js/player/player.js
@@ -6,6 +6,7 @@ window.VIDEOJS_NO_DYNAMIC_STYLE = true;
// Create the player for the first time
const player = videojs('video', null, function () {
+ player.poster('/thumbnail.jpg');
getStatus();
setInterval(getStatus, 5000);
setupPlayerEventHandlers();