Browse Source

Explicitly set poster in js

pull/17/head
Gabe Kangas 5 years ago
parent
commit
04dd7d7f90
  1. 1
      webroot/js/player/player.js

1
webroot/js/player/player.js

@ -6,6 +6,7 @@ window.VIDEOJS_NO_DYNAMIC_STYLE = true;
// Create the player for the first time // Create the player for the first time
const player = videojs('video', null, function () { const player = videojs('video', null, function () {
player.poster('/thumbnail.jpg');
getStatus(); getStatus();
setInterval(getStatus, 5000); setInterval(getStatus, 5000);
setupPlayerEventHandlers(); setupPlayerEventHandlers();

Loading…
Cancel
Save