Explicitly set poster in js

This commit is contained in:
Gabe Kangas 2020-06-19 13:40:44 -07:00
parent 4c194afce9
commit 04dd7d7f90

View file

@ -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();